Edited Cronjob

This commit is contained in:
WickedYoda committed 2023-02-28 16:28:58 -06:00
1 parent 1e328bc09f
commit c1c522e366
1 file changed
+2 -2
+2 -2
View File
@@ -5,6 +5,6 @@ sudo systemctl enable cron
sudo systemctl stop cron
echo "MAILTO="alerts@tyates.one"
0 */6 * * * root apt-get update && apt-get -y -d full-upgrade && apt-get autoremove -y" >> /etc/crontab
"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" >> /etc/crontab
sudo systemctl start cron
sudo systemctl start cron