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

Re: yum from cron setting http_proxy



Enrico Scholz wrote:

> 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. :(
> 
> 
> 

I guess, but I need to do this to a whole cluster.  It's a bit awkward to
have to insert a line into an existing file - a lot easier to just add a
file to a directory.  Oh well.




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