How to setup a cron job in cPanel?

How to setup a cron job in cPanel

This demo assumes you've already logged in to cPanel, and are starting on the home screen.

Now let's learn how to setup a cron job.

Click the Cron Jobs icon.

Enter the email address where you want the cron job results sent after each time it runs.

Now you have to define exactly when and how often you want the cron job to run.

This is made easier by selecting one of the pre-defined common settings.

Notice that by choosing a common setting, all fields are filled in automatically. This also helps you understand what each field means.

Next, enter the command of the script you want to run, including the path (from root).

Then click Add New Cron Job.

That's it! The cron job has been set, and will be listed at the bottom of the screen.

This is the end of the tutorial. You now know how to setup cron jobs in cPanel.

  • 0 brukere syntes dette svaret var til hjelp
Var dette svaret til hjelp?

Relaterte artikler

How to add a record with the DNS Zone Editor in cPanel?

  How to add a record with the DNS Zone Editor in cPanelThis demo assumes you've already logged...

How to add an MX entry in cPanel?

  How to add an MX entry in cPanelThis demo assumes you've already logged in to cPanel, and are...

How to backup your website in cPanel?

  How to backup your website in cPanelThis demo assumes you've already logged in to cPanel, and...

How to Change PHP Directives Globally from WHM with EasyApache 4?

You can follow below steps to change the values of PHP directives for all the websites running a...

How to change PHP version from cPanel?

The latest version of cPanel/WHM (58.3.x) is shipped with the EasyApache 4.0. It allows you to...