Automation cPanel

How to Set Up Cron Jobs in cPanel

Cron Jobs let your server do repetitive work automatically, on a schedule you set once.

Cron Jobs let you run a command or script automatically at set intervals — no manual triggering required. cPanel exposes this under the Advanced section.

1. Open Cron Jobs

From cPanel's home screen, click Cron Jobs under Advanced.

2. Add a new cron job

Select the schedule (minute, hour, day, month, weekday) and enter the command you want to run, such as a PHP script path or a curl request to a specific URL.

3. Use the common settings dropdowns

cPanel offers common presets like "Once Per Day" or "Once Per Hour" from a dropdown, so you don't need to remember cron's minute/hour syntax.

4. Common use cases

Popular cron jobs include triggering a nightly UpdraftPlus backup, clearing an old cache folder, or running WordPress's own wp-cron.php reliably on high-traffic sites.

Key takeaway: If your WordPress site gets heavy traffic, disable the default wp-cron trigger in wp-config.php and replace it with a real Cron Job — it runs more reliably and doesn't slow down page loads.

5. Set the notification email

cPanel can email the output of each cron job to the address on file — useful for confirming a backup script ran, but worth turning off once you trust it's working, to avoid inbox clutter.

6. Test before relying on it

Run the command manually via Terminal or a browser first, if possible, to confirm it works correctly before waiting for the schedule to trigger it for the first time.

7. Review jobs periodically

Check your Cron Jobs list every few months — leftover jobs from an old plugin or migrated site can quietly keep running and use server resources unnecessarily.