# /etc/systemd/system/xdc-autoresearch.timer # Triggers xdc-autoresearch.service every 3 hours. [Unit] Description=Run XDPoS autoresearch every 3 hours Requires=xdc-autoresearch.service [Timer] # Run 5 minutes after boot, then every 3 hours after the previous run completed. OnBootSec=5min OnUnitActiveSec=3h # Persistent: if the machine was off for the scheduled run, fire on next boot. Persistent=true # Add a small randomized delay so multiple xdc07-style hosts don't all fetch # from origin/xdc-network at the exact same second. RandomizedDelaySec=2min Unit=xdc-autoresearch.service [Install] WantedBy=timers.target