Cron jobs in cPanel: run scripts on a schedule
- Open "Cron Jobs" (group "Advanced").
- In "Add New Cron Job", pick a schedule in "Common Settings", for example "Once Per Day(0 0 * * *)". Or fill in minute, hour, day, month and weekday by hand.
- Enter the command in "Command".
- Click "Add New Cron Job".

The job appears under "Current Cron Jobs", where it can be edited or deleted.

Command examples
| Task | Command |
|---|---|
| PHP script | /usr/local/bin/php /home/USERNAME/public_html/cron.php |
| WordPress (instead of wp-cron) | /usr/local/bin/php /home/USERNAME/public_html/wp-cron.php >/dev/null 2>&1 |
| Open a URL | /usr/bin/curl -s https://example.com/cron/ >/dev/null |
USERNAME is your cPanel username. The full path to the site folder is shown in the File Manager.
In "Cron Email" you can enter an address to receive the output of every run. To get no emails, add >/dev/null 2>&1 to the end of the command.