You've already forked auto-update-ubuntu
fixed typo
This commit is contained in:
@@ -189,9 +189,10 @@ ensure_cron() {
|
||||
|
||||
printf "Creating cron enforcement job...\n"
|
||||
|
||||
cat <<EOF > "$cronfile"
|
||||
cat <<EOF > "$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"
|
||||
|
||||
Reference in New Issue
Block a user