Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.
Shade in the A or B circle for each question.
Draw a line connecting each item on the left to its match on the right.
| Left column | Right column | |
|---|---|---|
| 10 2 * * * python3 backup.py | AA cron entry that runs backup.py automatically at 2:00 am every day | |
| 2@reboot /home/user/sync.sh | B30 23 * * 5 /home/user/backup.sh | |
| 3Run a backup script automatically at 11:30 pm every Friday using a cron expression | CA cron entry that runs sync.sh each time the computer starts up | |
| 4Windows Task Scheduler can create a daily task that starts a backup program from the command line | Dschtasks /create /tn Backup /tr backup.bat /sc daily /st 22:00 | |
| 52 0 * * * /home/user/backup.sh (meant to run at 2:00 am) | EOnly four time fields are given, so cron reads backup.sh as the fifth time field. A cron entry needs five time fields, such as 0 2 * * * backup.sh. | |
| 60 2 * * backup.sh | FThe minute and hour fields are in the wrong order. This runs at 12:02 am, not 2:00 am. It should be 0 2 * * *. |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
cron — A scheduler that runs a command or script at set times without a person starting it, such as a nightly backup. Windows Task Scheduler does the same job.# Run backup.sh at 2am every day
0 2 * * * /home/ava/backup.sh# Run backup.sh once at start-up
@reboot /home/ava/backup.sh# Edit your list of scheduled cron jobs
crontab -e# Windows Task Scheduler: run every day
schtasks /create /tn "Backup" /sc daily# Run backup.sh every day at 6:30pm
30 18 * * * /home/ava/backup.sh