How to Create a Cron Job

  1. Log in to cPanel.
  2. In the Advanced section, click Cron Job.cPanel Cron Job icon
  3. Under Cron Email, make sure the current email address is valid. If not, enter a new, valid email and click Update Email. You will receive an email after the cron job has finished.Cronjob email
  4. Under Add New Cron Job, use the Common Settings dropdown menu to choose from a list of regularly used intervals; or set the frequency of your cron job by using the dropdown box next to each time unit. Common settings range from every minute to once a year.Cron Job Common Settings
  5. In the Command field, enter the desired command.Command Field
  6. Click Add New Cron Job.add cronjob button

Your cron job will then execute a file at a specific time, date, and repetition, according to the settings you selected.

Was this article helpful?

Related Articles