← Quiz: Bash Scripting for DevOps: all 10 questions
Quiz: Bash Scripting for DevOps · Question 7 of 10
What does the cron line 30 2 1-5 /home/deploy/backup.sh mean?
What does the cron line 30 2 * * 1-5 /home/deploy/backup.sh mean?
- A.Every 30 minutes, every 2 hours
- B.At 02:30 on the 1st to 5th of each month
- C.At 02:30, Monday to Friday
- D.At 30 seconds past 2 a.m. every day
Answer & explanation
Correct answer: At 02:30, Monday to Friday
The fields are minute, hour, day of month, month and day of week; 1-5 in the last field is Monday to Friday.
Can you get the rest right without peeking?
Take the timed Quiz: Bash Scripting for DevOps quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →