CompTIACompTIA
XK0-005 · Question #1272
XK0-005 Question #1272: Real Exam Question with Answer & Explanation
The correct answer is C: 5 2 * * 1. Minute (0 - 59) 0= every minute Hour (0 - 23) 0= every hour Day of month (1 - 31) Day of week (0 - 7) (Sunday=0 or 7)
Scripting, Containers, and Automation
Question
A junior systems administrator needs to schedule a backup script named /scripts/backup.sh and make the correct changes to the crontab. Which of the following crontab entries would run the script every Monday at 2:05 a.m.?
Options
- A1 * * 5 2
- B2 5 * * 1
- C5 2 * * 1
- D1 * * 2 5
- E5 2 * * 0 /scripts/backup.sh
Explanation
Minute (0 - 59) 0= every minute Hour (0 - 23) 0= every hour Day of month (1 - 31) Day of week (0 - 7) (Sunday=0 or 7)
Topics
#crontab#task scheduling#Linux commands#automation
Community Discussion
No community discussion yet for this question.