# Crontab Configuration for Press Zone Backend Backups
# Add these lines to user 'press' crontab with: crontab -e

# Daily backup at 2:00 AM
0 2 * * * $HOME/press-zone-backend/backup/backup.sh >> $HOME/press-zone-backend/backup/backup.log 2>&1

# Weekly cleanup of old logs (every Sunday at 3:00 AM)
0 3 * * 0 find $HOME/press-zone-backend/api/logs -name "*.log" -mtime +30 -delete
