Update 'README.md'
This commit is contained in:
parent
7e9a62eb05
commit
948ec4d1c6
12
README.md
12
README.md
|
@ -7,6 +7,18 @@ An overview of using Ubuntu's built in Cron system.
|
||||||
```sh
|
```sh
|
||||||
sudo nano /etc/crontab
|
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
|
### Templates
|
||||||
```sh
|
```sh
|
||||||
|
|
Loading…
Reference in New Issue