Skip to content

Notification when packages updates are available #7289

Answered by MichaIng
pedrom34 asked this question in Q&A
Discussion options

You must be logged in to vote

Forwarding to this feature request: #2663

Generally, you could add a daily cron job with a script like /etc/cron.daily/zz-notification, check whether /run/dietpi/.apt_updates exists, which contains the number of upgradable packages in case. The check is done, and this file generated, in /etc/cron.daily/dietpi, hence any script named alphanumerically after that, will work. Any MTA can then be used to send an email.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@pedrom34
Comment options

Answer selected by pedrom34
Comment options

You must be logged in to vote
2 replies
@Joulinar
Comment options

@pedrom34
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
3 participants