Run scheduled tasks via standard crontab syntax.
Add a cron
- cPanel → Advanced → Cron Jobs.
- Set email (use a real one — output goes there). Empty field = no email.
- Pick a schedule preset or enter custom (minute hour dom month dow).
- Command: full absolute paths. Example:
/usr/local/bin/php /home/user/public_html/cron.php > /dev/null 2>&1.
Silence output
Every cron produces email unless suppressed. Append > /dev/null 2>&1 or set MAILTO="" at top of the Cron Jobs page to avoid mail-queue floods.
Frequency limits
Minimum interval on shared plans is 5 minutes. Need 1-minute granularity? Upgrade to Cloud VPS where you have full cron control.