Files
Lakehouse/scripts/cron/README.md
T

15 lines
595 B
Markdown
Raw Normal View History

# Cron jobs (install on atc-docker01)
```cron
# Collect fleet configs weekly (Sunday 02:00)
0 2 * * 0 root cd /root/lakehouse && ./scripts/collect/collect-fleet-config.sh && git add -A && git diff --staged --quiet || git commit -m "chore: weekly fleet config sync" && git push origin master
# Health check every 15 minutes
*/15 * * * * root /root/lakehouse/scripts/health/check-services.sh >> /var/log/atc-health.log 2>&1
# Backup daily at 03:00
0 3 * * * root /root/lakehouse/scripts/backup/backup-lab.sh >> /var/log/atc-backup.log 2>&1
```
Install: `crontab -e` as root on atc-docker01.