You've already forked auto-update-ubuntu
comment corrections only no code changes
This commit is contained in:
@@ -68,7 +68,7 @@ sed -i '/Unattended-Upgrade::Allowed-Origins/ s|//\s*"\${distro_id}:\${distro_co
|
||||
# sed -i '/Unattended-Upgrade::Automatic-Reboot-WithUsers/ s/^\/\/\s*//' "$config2"
|
||||
|
||||
#
|
||||
# Create cron job running every Sunday at 04:00
|
||||
# Create cron job to run every Sunday at 04:00
|
||||
#
|
||||
cronjob01='0 4 * * 0 root /usr/bin/apt update && /usr/bin/unattended-upgrade -v >/dev/null 2>&1'
|
||||
echo "$cronjob01" > /etc/cron.d/updatesystem
|
||||
|
||||
Reference in New Issue
Block a user