# WordPress Auto-Update Cron Configuration
# 
# This cron job runs WordPress auto-updates every 6 hours at:
# - 02:00 (2 AM)
# - 08:00 (8 AM) 
# - 14:00 (2 PM)
# - 20:00 (8 PM)
#
# To install this cron job, run:
# crontab -e
# Then add the following line:

0 2,8,14,20 * * * /usr/bin/php /scripts/wordpress-auto-update.php >> /var/log/wordpress-auto-update.log 2>&1

# Alternative: Run every 6 hours starting at midnight
# 0 */6 * * * /usr/bin/php /scripts/wordpress-auto-update.php >> /var/log/wordpress-auto-update.log 2>&1

# For testing: Run every 5 minutes (uncomment to test, then comment out for production)
# */5 * * * * /usr/bin/php /scripts/wordpress-auto-update.php >> /var/log/wordpress-auto-update.log 2>&1

# Dry run for testing (runs every hour but doesn't make changes)
# 0 * * * * /usr/bin/php /scripts/wordpress-auto-update.php --dry-run >> /var/log/wordpress-auto-update.log 2>&1