[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: yum from cron setting http_proxy



ndbecker2 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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]