diff --git a/auto-update-ubuntu b/auto-update-ubuntu index dcfb01b..5cd4d44 100755 --- a/auto-update-ubuntu +++ b/auto-update-ubuntu @@ -189,9 +189,10 @@ ensure_cron() { printf "Creating cron enforcement job...\n" - cat < "$cronfile" +cat < "$cronfile" # Runs auto-update policy enforcement every Friday at 03:00 0 3 * * 5 root /usr/bin/apt-get update -qq && /usr/bin/unattended-upgrade -v >/dev/null 2>&1 + EOF chmod 644 "$cronfile"