easyMultiple ChoiceObjective-mapped
XK0-006 Schedule a script to run every Monday at 3 AM Practice Question
An administrator wants to schedule a script to run every Monday at 3 AM. Which crontab entry is correct?
⚠ Common exam trap
CompTIA often tests the distinction between the minute field and the day-of-week field, trapping candidates who confuse the first field (minute) with the hour field, or who misinterpret the day-of-week field as the day-of-month field.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
0 3 * * 1 /path/to/script
The crontab syntax requires five fields: minute, hour, day of month, month, and day of week. '0 3 * * 1' means minute 0, hour 3 (3 AM), any day of month (*), any month (*), and day of week 1 (Monday). This precisely schedules the script to run at 3:00 AM every Monday.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
0 3 * * 1 /path/to/script
Why this is correct
Runs at 3:00 AM every Monday.
- ✗
* 3 * * 1 /path/to/script
Why it's wrong here
Runs every minute from 3:00 to 3:59 on Monday.
- ✗
0 3 * * * /path/to/script
Why it's wrong here
Runs daily at 3 AM, not just Monday.
- ✗
0 3 1 * * /path/to/script
Why it's wrong here
Runs on the 1st of every month at 3 AM.
Go deeper
Related to this question
About these practice questions
Courseiva writes every XK0-006 question from scratch — 979 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This XK0-006 practice question is part of Courseiva's free CompTIA certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the XK0-006 exam.