Packages, services, and logs / Stage 11 of 13 · step 7 of 8
Cron job isn't running
Not running
Starting
Situation
root's schedule has a job: run /usr/local/bin/backup.sh every minute. The script writes the time
of its run to /var/backups/heartbeat — that mark shows the job is alive. The mark has never
appeared, and nobody has seen any error on screen.
Task
- The
/usr/local/bin/backup.shjob stays in root's schedule. - cron runs it itself:
/var/backups/heartbeatis written when the job runs on schedule. Running the script by hand does not count.
The tools you need are already installed. There's no internet on this machine.
Lab goals
0 of 2-
The /usr/local/bin/backup.sh job is still in root's schedule — not checked yet
-
cron runs the job itself — /var/backups/heartbeat is written when it runs — not checked yet
Hints
0 of 3 open · they open one at a time
Hint 1
Show the solution
after 3 failed checks