<div dir="ltr"><div>I have a number of timers that all look something like the following:</div><div><br></div><div>cat /etc/systemd/system/foo.timer</div><div>[Unit]</div><div>Description=Run foo every hour</div><div><br></div><div>[Timer]</div><div>OnCalendar=hourly</div><div><br></div><div><div>cat /etc/systemd/system/bar.timer</div><div>[Unit]</div><div>Description=Run bar every minute</div><div><br></div><div>[Timer]</div><div>OnCalendar=minutely</div></div><div><br></div><div>... (this list goes on and on)</div><div><br></div><div>The boilerplate for such small things is killing me. Is there a good technique to replace them with something simpler?</div><div>Maybe transient timers? What will be the drawbacks of transient timers comparing to regular timers?</div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>Best,</div><div>Daniel</div></div></div>
</div>