Updates and changes

This commit is contained in:
WickedYoda committed 2023-12-16 19:03:50 -06:00
1 parent 59c910462c
commit 1948b36625
20 files changed
+45 -8

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
# Update Apt-cache
sudo apt-get update
# install needed packages
sudo apt install cron cron-apt crontab-y
# enable system services
sudo systemctl enable cron
sudo systemctl start cron
# Echo the command below into the file /etc/crontab
echo 'MAILTO="alert@tyates.one"
0 */6 * * * root apt-get update && apt install upgrade -y && apt-get -y -d full-upgrade && apt-get autoremove -y' | sudo tee -a /etc/crontab