Mail to line was missing

This commit is contained in:
WickedYoda committed 2023-09-06 14:18:01 -05:00
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 # 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. # 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 # Restart the cron service to apply the new cron job