Comment 2 for bug 1940011

Revision history for this message
Haw Loeung (hloeung) wrote : Re: [Bug 1940011] Re: Reduce cron spam from weekly update-notifier-common

On Thu, Sep 02, 2021 at 05:39:23PM -0000, Brian Murray wrote:
> I think part of the point of having the cronjob is to mail the system
> administrator and let them know that a new release of Ubuntu is
> available. That being said I do feel like sending the email every week
> until the system upgraded is a bit much. I'd be happy to hear about any
> clever ideas for avoiding that.

Maybe email once per new release of Ubuntu (including point
releases). Create a flag on disk when notifed for said release.

If we wanted to, create the flag on /run, so that a reboot resets it
all.

Unfortunately, this is made worse with the shift to replacing services
with juju deployments where environments contain multiple units each
trying to email about a new release.

Thanks!