File size: 336 Bytes
722781c
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
# Alpha MC — Cron Schedule
# min  hour  day  month  weekday  command

# World backup every 6 hours
0 */6 * * * bash /data/scripts/backup.sh

# Rotate logs every Sunday at midnight (keeps logs from growing forever)
0 0 * * 0 truncate -s 0 /data/logs/monitor.log /data/logs/health.log /data/logs/backup.log /data/logs/status_server.log