Bird
0
0

Which cron expression runs a job every Sunday at 3:30 AM?

easy📝 Conceptual Q2 of 15
Linux CLI - Cron and Scheduling
Which cron expression runs a job every Sunday at 3:30 AM?
A30 3 * * 7
B3 30 * * 7
C0 3 * * 7
D3 30 * * 0
Step-by-Step Solution
Solution:
  1. Step 1: Identify day of week for Sunday

    In cron, Sunday can be 0 or 7. Here, 7 is used for Sunday.
  2. Step 2: Match time 3:30 AM

    Minute=30, hour=3, day of week=7, others are * (any).
  3. Final Answer:

    30 3 * * 7 -> Option A
  4. Quick Check:

    Sunday at 3:30 AM = 30 3 * * 7 [OK]
Quick Trick: Day of week 0 or 7 means Sunday in cron [OK]
Common Mistakes:
  • Swapping hour and minute
  • Using 0 instead of 7 incorrectly
  • Misunderstanding day of week field

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes