Files
2026-09-13 10:00:13 -04:00

7 lines
449 B
Plaintext

# /etc/cron.d/vitfit-v2-sync -- runs at 05:00 in the SERVER timezone.
# Confirm ubuntu is UID 1000 and can read V1 and write V2 storage/backups/logs.
# Install only after editing the config and completing a successful manual sync.
SHELL=/bin/sh
PATH=/usr/local/bin:/usr/bin:/bin
0 5 * * * ubuntu /usr/bin/timeout 3h /usr/bin/python3 /opt/VitFit/V2/deploy/coexist/sync.py --config /etc/vitfit-v2-sync.json --apply >> /var/log/vitfit-v2-sync.log 2>&1