s
This commit is contained in:
WickedYoda committed 2025-01-23 13:59:43 -06:00
1 parent 411f266ceb
commit 80c10035bf
2 files changed
+6 -4

No files matched your search

+4 -2
View File
@@ -10,5 +10,7 @@ sudo systemctl start cron
# Echo the command below into the file /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
0 */1 * * * root mount -a #makes sure the nas is mounted
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'
0 */1 * * * root mount -a | sudo tee -a /etc/crontab
#makes sure the nas is mounted
@@ -21,8 +21,8 @@ sudo systemctl stop cron
# Added new line to test.
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
0 */1 * * * root mount -a #makes sure the nas is mounted
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 #makes sure the nas is mounted
# Restart the cron service to apply the new cron job
sudo systemctl start cron