Cron Jobs
A cron job runs a command or script automatically at times you set, such as sending a newsletter every morning, cleaning up temporary files every week, or running WordPress tasks exactly on schedule.
Add a cron job
Open Advanced → Cron Jobs in cPanel.
Under Add New Cron Job, choose a schedule from Common Settings, or set the fields yourself:
| Field | Meaning | Example |
|---|---|---|
| Minute | Minute (0 to 59) | 0 |
| Hour | Hour (0 to 23) | 3 |
| Day | Day of the month (1 to 31) | * (every day) |
| Month | Month (1 to 12) | * |
| Weekday | Day of the week (0 Sunday to 6 Saturday) | * |
An asterisk * means "every". */15 in the Minute field means every 15 minutes.
Type the command in Command, then click Add New Cron Job.

Times are in the server's time zone.
Example commands
Replace username with your account's username, shown in Server information.
Run a PHP script:
/usr/local/bin/php /home/username/public_html/cron.phpRun it with the domain's PHP version: replace ea-php83 with the version shown for the domain in MultiPHP Manager.
/usr/local/bin/ea-php83 /home/username/public_html/cron.phpRun WordPress tasks on schedule: disable the built-in scheduler by adding the following line to wp-config.php:
define('DISABLE_WP_CRON', true);Then add a job that runs every 15 minutes (*/15 in the Minute field):
/usr/local/bin/php /home/username/public_html/wp-cron.php >/dev/null 2>&1Cron job output emails
If the command produces any output, it is sent after every run to the address in Cron Email at the top of the page. That's useful while testing, but it will fill your inbox if a job runs every few minutes. To stop the emails for a single job, add this to the end of its command:
>/dev/null 2>&1A heavy job that runs every minute eats into your account's resource limits and slows down your site. Choose the longest interval that works for you, and monitor usage in Resource usage.
To edit or delete a job, use Edit or Delete next to it in the Current Cron Jobs list at the bottom of the page.
How is this guide?
Node.js and Python apps
Run a Node.js or Python (Django, Flask) application on cPanel hosting by choosing the version, directory and URL, without a dedicated server.
SSH access and Terminal
Run commands on your hosting account from the browser with Terminal, or connect over SSH and SFTP with a key from your computer.