Setting a proxy for YUM in a crontab

Kimmo Koivisto kimmo.koivisto at surfeu.fi
Fri Apr 8 19:41:38 UTC 2005


On Friday 08 April 2005 22:38, Matthew Benjamin wrote:
> Does anyone know how to set a proxy for yum, if you are setting yum to
> run as a cronjob. I set an export http_proxy="http://proxy.4.me:3128" in
> the .bashrc, however this is probably only valid when I login as root.
>
> mB.

Add your proxy definitions to the /etc/cron.daily/yum.cron

Regards
Kimmo Koivisto




More information about the fedora-list mailing list