I use systemd-cron
which creates unit files under /lib/systemd. The unit file for cron-daily.timer
has
[Timer]
OnCalendar=daily
This triggers the scripts at midnight. I want them to trigger at 3am instead.
If I create override.conf
in the cron-daily.timer.d
directory under /etc/systemd/system
to have
[Timer]
OnCalendar=*-*-* 03:00:00
and run daemon-reload, restart the timer and run systemctl list-timers
it still wants to run at 00:00:00. However, if I change my override.conf
to have
[Timer]
OnCalendar=hourly
then it wants to run hourly as expected. Why can I not override the service to run at a specific time?