Bird
0
0

You added this line in crontab -e:

medium📝 Debug Q14 of 15
Linux CLI - Cron and Scheduling
You added this line in crontab -e:
60 12 * * * /home/user/script.sh
Why does this cron job not run?
AScript path must be absolute, this is relative.
BHour 12 is invalid; hours range 0-11.
CMinute value 60 is invalid; minutes range 0-59.
DMissing day-of-week field causes error.
Step-by-Step Solution
Solution:
  1. Step 1: Check the minute field validity

    Minutes must be between 0 and 59. 60 is invalid and causes cron to ignore the job.
  2. Step 2: Verify other fields

    Hour 12 is valid (means noon). Day-of-week is optional. Script path is absolute.
  3. Final Answer:

    Minute value 60 is invalid; minutes range 0-59. -> Option C
  4. Quick Check:

    Minute must be 0-59, 60 is invalid [OK]
Quick Trick: Minutes max at 59, not 60 [OK]
Common Mistakes:
  • Using 60 as a minute value
  • Confusing 12-hour clock with 24-hour
  • Thinking day-of-week is mandatory

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes