23 lines
879 B
SYSTEMD
23 lines
879 B
SYSTEMD
|
|
# Every five minutes. Two things set the floor and the ceiling:
|
||
|
|
#
|
||
|
|
# * bunq rate-limits reads to roughly 3 GET per 3 seconds per method, so one
|
||
|
|
# call per five minutes is nowhere near it. The cost of going faster is
|
||
|
|
# nothing technical; it is just noise.
|
||
|
|
# * a donor watching the order page wants confirmation while they still care.
|
||
|
|
# Five minutes here plus the reconciler's own 60 s cadence means a fresh
|
||
|
|
# order confirms within about six minutes of the money landing.
|
||
|
|
#
|
||
|
|
# Persistent=true so a laptop that was asleep pulls once on waking instead of
|
||
|
|
# silently skipping every window it missed — which is exactly when a donation
|
||
|
|
# would otherwise sit unacknowledged overnight.
|
||
|
|
[Unit]
|
||
|
|
Description=Pull bunq credits for catcrafts.net every 5 minutes
|
||
|
|
|
||
|
|
[Timer]
|
||
|
|
OnBootSec=2min
|
||
|
|
OnUnitActiveSec=5min
|
||
|
|
Persistent=true
|
||
|
|
AccuracySec=30s
|
||
|
|
|
||
|
|
[Install]
|
||
|
|
WantedBy=timers.target
|