-
Hey! I don't really how to start... Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Forwarding to this feature request: #2663 Generally, you could add a daily cron job with a script like |
Beta Was this translation helpful? Give feedback.
-
I wrote this. It works with ntfy (a self-hosted instance, but I changed the curl command to make it work with https://ntfy.sh), I need to wait for a package update to test if it works IRL.
|
Beta Was this translation helpful? Give feedback.
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.