19 lines
457 B
SYSTEMD
19 lines
457 B
SYSTEMD
# User-level systemd timer that "catches up" missed runs if the machine was off.
|
|
[Unit]
|
|
Description=Schedule main.py with catch-up if missed
|
|
|
|
[Timer]
|
|
# Change this to your desired schedule; examples:
|
|
# OnCalendar=daily
|
|
# OnCalendar=Mon..Fri 09:00
|
|
# See man systemd.time for syntax.
|
|
OnCalendar=*-*-03,17 09:00:00
|
|
Timezone=America/New_York
|
|
Persistent=true
|
|
AccuracySec=1m
|
|
RandomizedDelaySec=5m
|
|
Unit=libguides-notifier.service
|
|
|
|
[Install]
|
|
WantedBy=timers.target
|