[systemd-devel] Dedup timers?
Daniel Wang
wonderfly at google.com
Tue Sep 26 05:45:23 UTC 2017
I have a number of timers that all look something like the following:
cat /etc/systemd/system/foo.timer
[Unit]
Description=Run foo every hour
[Timer]
OnCalendar=hourly
cat /etc/systemd/system/bar.timer
[Unit]
Description=Run bar every minute
[Timer]
OnCalendar=minutely
... (this list goes on and on)
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?
--
Best,
Daniel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20170925/3a6678be/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4849 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20170925/3a6678be/attachment.bin>
More information about the systemd-devel
mailing list