All Systems Operational|support@delhihosting.com
cPanel

How to Set Up a Cron Job in cPanel

1 Mar 2026 · 4 min read · DelhiHosting Team

A cron job runs a command automatically on a schedule — for backups, maintenance scripts, or application tasks. cPanel makes setting one up straightforward.

What cron is for

Cron handles anything that should happen regularly without you doing it: nightly backups, clearing caches, sending scheduled reports, or running an application’s background tasks reliably at a fixed time.

Create a job

In Cron Jobs, set the schedule (minute, hour, day) and enter the command to run. cPanel offers common schedule presets, so you don’t have to memorise cron timing syntax.

Avoid pitfalls

Don’t schedule heavy jobs too frequently, or they can pile up and strain the server. Use the full correct path to scripts, and set an email so you’re notified if a job produces errors.

Quick tips
  • Use cron for regular automated tasks
  • Use the schedule presets
  • Don’t run heavy jobs too often
  • Get email alerts on job output
Key takeaway

Cron jobs automate scheduled tasks like backups and scripts — set a sensible frequency and use full paths and email alerts.

Related cPanel guides

Need a hand with this?

Our Delhi-based engineers handle cPanel, email and server setup for you — free migration included.