Bird
0
0

In a systemd timer unit, what effect does setting Persistent=true have on timer behavior?

easy📝 Conceptual Q1 of 15
Linux CLI - Cron and Scheduling
In a systemd timer unit, what effect does setting Persistent=true have on timer behavior?
AIt makes the timer run only once at boot time.
BIt disables the timer after the first run.
CIt triggers missed timer events immediately after the system boots.
DIt prevents the timer from running if the system is idle.
Step-by-Step Solution
Solution:
  1. Step 1: Understand Persistent=true

    This setting ensures that if the system was off or suspended when a timer event was supposed to occur, systemd triggers the missed event immediately after boot.
  2. Step 2: Effect on timer execution

    Without this setting, missed timer events are skipped, so the service won't run for those missed times.
  3. Final Answer:

    It triggers missed timer events immediately after the system boots. -> Option C
  4. Quick Check:

    Persistent=true means catch up missed runs [OK]
Quick Trick: Persistent=true runs missed timers after reboot [OK]
Common Mistakes:
  • Confusing Persistent=true with enabling or disabling timers
  • Assuming it affects timer frequency
  • Thinking it delays timer start

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes