mirror of
https://github.com/wickedyoda/public-setupfiles.git
synced 2026-11-16 13:31:56 -06:00
Mail to line was missing
This commit is contained in:
1 parent
281f0be34a
commit
d5b63b22c3
1 file changed
+2
-1
@@ -20,7 +20,8 @@ sudo systemctl stop cron
|
||||
# 0 */6 * * * root apt-get update && apt-get -y -d full-upgrade && apt-get autoremove -y && sudo apt-get clean -y && sudo apt-get purge -y' | sudo tee /etc/cron.d/auto_updates
|
||||
|
||||
# Added new line to test.
|
||||
echo '0 */6 * * * root apt-get update && apt-get -y -d full-upgrade && apt-get autoremove -y && sudo apt-get clean -y && sudo apt-get purge -y' | sudo tee -a /etc/crontab
|
||||
echo '"MAILTO="alerts@tyates.one"
|
||||
0 */6 * * * root apt-get update && apt-get -y -d full-upgrade && apt-get autoremove -y && sudo apt-get clean -y && sudo apt-get purge -y' | sudo tee -a /etc/crontab
|
||||
|
||||
|
||||
# Restart the cron service to apply the new cron job
|
||||
|
||||
Reference in new issue
Block a user