Bird
0
0

Why might a systemd timer with OnCalendar=*-*-* 00:00:00 and Persistent=false miss running after a system reboot?

hard📝 Conceptual Q10 of 15
Linux CLI - Cron and Scheduling
Why might a systemd timer with OnCalendar=*-*-* 00:00:00 and Persistent=false miss running after a system reboot?
ABecause OnCalendar does not support midnight times
BBecause systemd timers cannot run at midnight
CBecause the timer must be manually started after reboot
DBecause Persistent=false disables running missed jobs after downtime
Step-by-Step Solution
Solution:
  1. Step 1: Understand Persistent=false effect

    When Persistent is false, systemd does not run missed timer events after the system was off.
  2. Step 2: Analyze other options

    OnCalendar supports midnight times. Timers start automatically if enabled. Timers can run at midnight.
  3. Final Answer:

    Persistent=false disables running missed jobs after downtime -> Option D
  4. Quick Check:

    Persistent=false skips missed timer runs after reboot [OK]
Quick Trick: Persistent=false skips missed timer runs after reboot [OK]
Common Mistakes:
  • Thinking OnCalendar can't run at midnight
  • Assuming timers need manual start after reboot
  • Believing timers can't run at midnight

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes