<div dir="ltr">Did you `systemctl enable rsync-Saruman.timer` to activate the timer? Timers can be enabled and disabled just like services, you need to enable it after creating.<div><br></div><div>- Dave</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Aug 30, 2019 at 8:05 PM Kenneth Porter <<a href="mailto:shiva@sewingwitch.com">shiva@sewingwitch.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I've created my service timer with the following:<br>
<br>
[Timer]<br>
# wait a bit after boot to let our victim catch up with its work<br>
OnBoot=13m<br>
# let the victim get some work done between backups<br>
# we use inactive to prevent back-to-back backups if they run long<br>
OnUnitInactiveSec=1h<br>
<br>
I then run list-timers but all the time columns for my service are n/a. I <br>
want my backup to run with an hour between backups, and with a pause after <br>
boot to let all the machines come up and finish overdue work from any long <br>
power outage. I started the timer unit and then see this:<br>
<br>
# systemctl list-timers<br>
NEXT LEFT LAST <br>
PASSED UNIT ACTIVATES<br>
n/a n/a n/a n/a <br>
rsync-Saruman.timer rsync-Saruman.service<br>
<br>
<br>
_______________________________________________<br>
systemd-devel mailing list<br>
<a href="mailto:systemd-devel@lists.freedesktop.org" target="_blank">systemd-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/systemd-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/systemd-devel</a></blockquote></div>