friendica/mods/sample-systemd.timer
utzer a4f469d187
RemainAfterElapse=False
> if RemainAfterElapse= is off, it might be started again if it is already elapsed, and thus be triggered multiple times
False will start the process again and again after the set time, this is the desired behavior for worker.php

Infos: https://www.freedesktop.org/software/systemd/man/systemd.timer.html
2018-04-09 18:42:02 +05:30

11 lines
157 B
SYSTEMD

[Unit]
Description=Run Friendica Poller every n minutes
[Timer]
OnBootSec=120
OnUnitActiveSec=120
RemainAfterElapse=False
[Install]
WantedBy=timers.target