mirror of
https://github.com/wickedyoda/public-setupfiles.git
synced 2026-11-16 13:31:56 -06:00
9 lines
317 B
Bash
9 lines
317 B
Bash
sudo apt update
|
|
sudo apt install cron cron-apt -y
|
|
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 && sudo apt-get clean -y && sudo apt-get purge -y" >> /etc/crontab
|
|
|
|
sudo systemctl start cron |