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.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1317920

Title:
  update-notifier does not user configured system proxy when downloading
  files with package-data-downloader

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/1317920/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to