1 |
On Monday 25 December 2006 14:23, Daniel Iliev wrote: |
2 |
|
3 |
> That will do the job for emerge. What if I want to schedule some other |
4 |
> downloading with cron? |
5 |
|
6 |
Can't you just use a bash script that sets the variables and then runs |
7 |
the download (wget)? Something like |
8 |
|
9 |
$ cat download.sh |
10 |
|
11 |
#!/bin/bash |
12 |
|
13 |
export ftp_proxy=ftp.proxy.tld |
14 |
export http_proxy=http.proxy.tld |
15 |
|
16 |
wget <url> |
17 |
|
18 |
---- |
19 |
|
20 |
and then schedule download.sh to be run by cron? |
21 |
-- |
22 |
gentoo-user@g.o mailing list |