如何每两小时运行 systemd 计时器
每两小时运行 systemd 计时器的语法是:
systemd_oncalendar_every_2_hours.conf
OnCalendar=*-*-* 00,02,04,06,08,10,12,14,16,18,20,22:00:00即在每个第二小时的第一个分钟和第一个秒(00:00)运行它(00,02,04,06,08,10,12,14,16,18,20,22)。
Check out similar posts by category:
Systemd
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow