What are Cron Jobs?
Cron jobs are scheduled tasks that run automatically - useful for backups, sending emails and clearing caches.
Setting Up a Cron Job
Schedule Examples
Every minute: * * * * * Every hour: 0 * * * * Every day at midnight: 0 0 * * * Every Monday at 8am: 0 8 * * 1 Every 15 minutes: */15 * * * *
Example Commands
Run a PHP script: /usr/local/bin/php /home/USERNAME/public_html/cron.php
Suppress output: /usr/local/bin/php /home/USERNAME/public_html/cron.php > /dev/null 2>&1