13 lines
760 B
Plaintext
13 lines
760 B
Plaintext
# Degelas data refresh – see docs/CRON.md
|
||
# Container must be running: cd /root/solar_trading_engine && docker compose up -d
|
||
|
||
# --- For crontab -e (no "root" field) ---
|
||
# Prices: 12:05 and 18:05 UTC (after day-ahead publication).
|
||
# 5 12,18 * * * /root/solar_trading_engine/scripts/cron-refresh.sh prices >> /var/log/degelas-cron.log 2>&1
|
||
# Metrics: every 6 hours.
|
||
# 0 */6 * * * /root/solar_trading_engine/scripts/cron-refresh.sh metrics >> /var/log/degelas-cron.log 2>&1
|
||
|
||
# --- For /etc/cron.d/degelas-refresh (includes user "root") ---
|
||
5 12,18 * * * root /root/solar_trading_engine/scripts/cron-refresh.sh prices >> /var/log/degelas-cron.log 2>&1
|
||
0 */6 * * * root /root/solar_trading_engine/scripts/cron-refresh.sh metrics >> /var/log/degelas-cron.log 2>&1
|