From 948ec4d1c6493ffc0aa84602c7d72a448fd20673 Mon Sep 17 00:00:00 2001 From: Sarimoko Date: Wed, 21 Jul 2021 06:55:44 +0000 Subject: [PATCH] Update 'README.md' --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 51c6018..7836b6d 100644 --- a/README.md +++ b/README.md @@ -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