systemd Timers vs cron
A backup must run daily at 02:00 on a VM that is often powered off overnight. If the run is missed, it should happen soon after the next boot. Which systemd timer setting provides this?
Choose one answer
OnUnitActiveSec=1d with AccuracySec=1h in the .timer file
OnUnitActiveSec=1d
AccuracySec=1h
.timer
OnBootSec=2h with OnCalendar=daily in the .timer file
OnBootSec=2h
OnCalendar=daily
OnCalendar=daily with RandomizedDelaySec=2h and WakeSystem=true
RandomizedDelaySec=2h
WakeSystem=true
OnCalendar=*-*-* 02:00:00 with Persistent=true
OnCalendar=*-*-* 02:00:00
Persistent=true