yum from cron setting http_proxy
Enrico Scholz
enrico.scholz at informatik.tu-chemnitz.de
Tue Jul 13 15:43:27 UTC 2004
ndbecker2 at verizon.net ("Neal D. Becker") writes:
> 1) I need http_proxy set. I tried adding a script to /etc/profile.d, but
> AFAICT, cron isn't executing it. Any suggestions? I don't want to
> modify yum scripts, because I'm afraid my change will be lost - and
> this isn't really yum specific.
Add 'http_proxy=...' at the top of /etc/crontab (there should be already
some variables).
But be warned; yum's proxy support is not complete as it does not
support $no_proxy. Seems to be a general problem: the thing which is
called "webbrowser" in Gnome2 does not have this either. :(
Enrico
More information about the fedora-devel-list
mailing list