Cron Job Builder
Set up tasks that your web server runs by itself on a schedule, such as nightly backups or a check that the site is working, without knowing any Linux. Choose a task, say when it should run in plain words, and copy the result into the Cron Jobs page of cPanel.
Your server settings
Fill these in once. They're kept in this browser and used in every job.
In cPanel, it's under General Information as Current User. Your home folder is /home/username.
Where the website's files are. Almost always public_html.
Used by the site check.
Not sure? Use the Check the server's clock task to find out.
Right on most cPanel hosts. Only needed for running PHP scripts.
1. Choose a task
2. Details
3. When should it run?
4. Email
cPanel emails whatever a job prints. Set the address once, under Cron Email at the top of the Cron Jobs page.
Your cron job
What the command does
Next 5 runs
How to add it in cPanel
- Log in to cPanel and open Cron Jobs (under Advanced).
- The first time, enter your email address under Cron Email and click Update Email.
- Under Add New Cron Job, leave Common Settings as it is. Copy each of the five boxes above into the matching box: Minute, Hour, Day, Month, Weekday.
- Click Copy next to the command and paste it into Command.
- Click Add New Cron Job. It appears under Current Cron Jobs, where you can edit or delete it later.
Paste a cron line
From a tutorial, a plugin's instructions, or a job that's already in cPanel. Just the timing (like */15 * * * *) works too.
In plain words
Paste a line to see what it means.