CompTIA
XK0-006 · Question #125
A Linux administrator prepares a backup script named testBack.sh. The backup script must be executed at 3:00 p.m. every Sunday. Which of the following crontab configurations will satisfy this…
The correct answer is C. 0 15 * * 0 testBack.sh. This cron entry schedules the script to run at minute zero of hour fifteen every Sunday, which corresponds to 3:00 p.m. each week.
Automation and Scripting
Question
A Linux administrator prepares a backup script named testBack.sh. The backup script must be executed at 3:00 p.m. every Sunday. Which of the following crontab configurations will satisfy this requirement?
Options
- A0 * * * 15 testBack.sh
- B*/15 * * * 0 testBack.sh
- C0 15 * * 0 testBack.sh
- D
- 15 * * 0 testBack.sh
How the community answered
(21 responses)- C95% (20)
- D5% (1)
Explanation
This cron entry schedules the script to run at minute zero of hour fifteen every Sunday, which corresponds to 3:00 p.m. each week.
Topics
#cron#crontab#job scheduling#automation
Community Discussion
No community discussion yet for this question.