[systemd-devel] Dedup timers?
Peter Hoeg
peter at hoeg.com
Tue Sep 26 23:32:57 UTC 2017
Hi,
>> I have a number of timers that all look something like the following:
><snip>
>> The boilerplate for such small things is killing me. Is there a good
>> technique to replace them with something simpler?
>> Maybe transient timers? What will be the drawbacks of transient timers
>> comparing to regular timers?
>From man systemd.time:
The following special expressions may be used as shorthands for longer normalized forms:
minutely → *-*-* *:*:00
hourly → *-*-* *:00:00
daily → *-*-* 00:00:00
monthly → *-*-01 00:00:00
weekly → Mon *-*-* 00:00:00
yearly → *-01-01 00:00:00
quarterly → *-01,04,07,10-01 00:00:00
semiannually → *-01,07-01 00:00:00
--
Regards,
Peter
More information about the systemd-devel
mailing list