How to run systemd timer twice daily
In order to run a systemd timer twice daily at fixed times, use this syntax in the .timer
file:
example.txt
OnCalendar=*-*-* 00,12:00:00
This line means: Run the service on each and every day (*-*-*
) at 00:00:00
and 12:00:00
(00,12:00:00
)
Check out similar posts by category:
Linux
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow