Files
crypto-trader/systemd/crypto-trader.timer
2026-05-03 23:37:55 -04:00

22 lines
682 B
SYSTEMD
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
[Unit]
Description=Run Kraken Crypto Trader Bot on schedule
Requires=crypto-trader.service
[Timer]
# Runs at 09:00, 13:00, and 17:00 UTC every day.
# Adjust times to suit your strategy — the bot is quick (~10s) so running
# 24 times a day is a reasonable frequency for a daily momentum strategy.
OnCalendar=*-*-* 09:00:00 UTC
OnCalendar=*-*-* 13:00:00 UTC
OnCalendar=*-*-* 17:00:00 UTC
# If the system was off at a scheduled time, run once when it comes back up
Persistent=true
# Randomise start time by up to 60 seconds to avoid thundering-herd issues
# if you run multiple bots (safe to remove if you only have one)
RandomizedDelaySec=60
[Install]
WantedBy=timers.target