Cron Job Generator: Build and Explain Schedules

Choose when a job runs in plain words and get the correct cron expression and full line to paste into cPanel. Have an expression you do not understand? Type it above and we explain it.

Try:
0 3 * * * wp-cron.phpDaily at 03:00

Generator

Build a scheduled job

How the tool works

Four steps, all in your browser with no sign-up.

Pick the time

Minutes, daily, weekly or monthly.

Pick the command

WP-Cron or a PHP file.

Copy the line

And the five fields as in cPanel.

Explain any expression

Type it above and we explain it.

How to read a cron expression

An expression has five parts separated by spaces, in order: minute, hour, day of month, month and day of week. An asterisk * means "every", and */15 means "every 15".

ExpressionMeaning
*/5 * * * *Every 5 minutes
0 * * * *Every hour at minute 0
0 3 * * *Every day at 3:00
30 2 * * 5Every Friday at 2:30
0 4 1 * *The first of every month at 4:00

Where do I add it in cPanel?

  1. In cPanel open Cron Jobs.
  2. Enter your email at the top for a report on each run, or add >/dev/null 2>&1 at the end of the command to silence it.
  3. Copy the five parts into the Minute, Hour, Day, Month and Weekday fields as shown in the result.
  4. Paste the command into the Command field and save.

WP-Cron in WordPress

WordPress runs its tasks on every visit, which slows large sites and delays tasks on quiet ones. Add define('DISABLE_WP_CRON', true); to wp-config.php, then add a real job every 15 minutes from this generator.

If your jobs are many or heavy, such as file processing or large backups, they belong on a VPS without shared resource limits.

Guides to read after checking

Step-by-step fixes from our knowledge base.

Key terms

Short definitions of what you meet along the way.

Cron
A Linux scheduler that runs a command automatically at set times, such as a nightly backup or hourly emails.
Cron expression
Five fields: minute, hour, day of month, month and day of week. An asterisk means "every".
WP-Cron
WordPress's internal scheduler that runs only on visits, so important sites replace it with a real cron job.

Frequently asked questions

Did not find your answer? Ask us on WhatsApp

Which time zone does the job use?

The server's, which may differ from your local time. Ask support for your server's time zone if unsure.

What is the shortest interval?

One minute as far as cron goes. On shared hosting, 5 or 15 minutes is better to save resources.

Why do I get an email on every run?

cPanel emails the command output to the address set. Add >/dev/null 2>&1 to the command, or clear the email at the top of Cron Jobs.

Why only days up to 28?

Some months are shorter, so a job on day 30 would not run in February. Days up to 28 run every month.

What is the shortest cron interval?

One minute technically, but on shared hosting use 5 minutes or more to avoid loading the server.

How do I know the job runs?

Log its output to a file, or enable result emails in cPanel's cron settings.

Jobs too heavy for shared hosting?

A VPS you fully control, for your jobs and apps.

Contact us on WhatsApp