Uploaded a test package to the following PPA which converts the two
remaining cronjobs into systemd timers and tidies up a couple of other
packaging bits:

https://launchpad.net/~waveform/+archive/ubuntu/update-
notifier/+packages

Needs testing to ensure that the upgrade actually removes the existing
cronjobs (couple of new maintscript bits *should* take care of this),
and that the timings are reasonable.

In this version, only the motd timer has a calendar-based schedule
(every Sunday, but smeared across 24h as requested). The package-data-
downloader timer is started 5 minutes after system start, and then
periodically each 24h after that, which roughly mimics what the old
cronjob did under anacron (though there's also a dpkg trigger that may
fire the task at arbitrary points too). I've added "After=" rules to
both to try and ensure they're always scheduled after networking is
available (using similar rules to the existing apt-daily timer), and
service conditions which mimic the previous [ -x ] tests in the
cronjobs.

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

Title:
  update-notifier-common weekly cron job runs at the same time for all
  computers across the globe

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1836475/+subscriptions

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

Reply via email to