Update 'README.md'

This commit is contained in:
Sarimoko 2021-07-21 06:55:44 +00:00
parent 7e9a62eb05
commit 948ec4d1c6
1 changed files with 12 additions and 0 deletions

View File

@ -7,6 +7,18 @@ An overview of using Ubuntu's built in Cron system.
```sh
sudo nano /etc/crontab
```
### Auto Update & Upgrade & Reboot/Restart
```sh
22 2 * * * root /usr/bin/apt update -q -y >> /var/log/apt/automaticupdates.log
33 3 * * * root /usr/bin/apt upgrade -q -y >> /var/log/apt/automaticupdates.log
44 4 * * * root reboot
```
***
# Advanced Configs
Below is a template/guide to creating your own crontab scripts!
### Templates
```sh