| +91 73181 42255 |
All tutorials
cPanel · 4 min read

How to Schedule a Task with Cron Jobs

Cron jobs run a command at set times — great for automated backups, cleanup scripts or a real WordPress cron.

  1. 1

    Open Cron Jobs

    In cPanel, click Cron Jobs under "Advanced".

  2. 2

    Set the timing

    Choose how often to run it. Not sure of the syntax? Build it with our free Cron Expression Generator.

  3. 3

    Enter the command

    Add the command to run (e.g. a PHP script path). Add the cron job.

  4. 4

    Check it ran

    Set a cron email or check your script's log to confirm it executed.

Tip: For WordPress, disable WP's built-in pseudo-cron and run wp-cron.php via a real cron every 5–15 minutes for reliability.
Stuck on a step? Our team is here 24/7.
Loading...