Comment 3 for bug 1317920

Revision history for this message
Peter Parzer (peter-parzer) wrote : Re: update-notifier does not user configured system proxy when downloading files with package-data-downloader

I created two simple cron scripts on a new installation of Ubuntu 14.04 amd64 with all updates installed (the only additional package I installed was cifs-utils).

/etc/cron.daily/testenv-daily:
#!/bin/sh
logger -t testenv-daily "http_proxy=$http_proxy"

/etc/cron.hourly/testenv-hourly:
#!/bin/sh
logger -t testenv-hourly "http_proxy=$http_proxy"

Here are the respective lines of /var/log/syslog:

May 15 09:38:32 wkjpvm6 testenv-daily: http_proxy=
May 15 10:17:01 wkjpvm6 testenv-hourly: http_proxy=http://proxy.krz.uni-heidelberg.de:8080/

I have no idea why the enviroment is set for hourly cron jobs but not for daily cron jobs.