How To Set up a Cron Job in cPanel

  1. This tutorial assumes you’ve already logged in to cPanel, and are starting on the home screen.


  2. Now let’s learn how to setup a cron job.


  3. Click the "Cron Jobs" icon.


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


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


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


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


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


  9. Then click "Add New Cron Job".


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


How to Display (List) All Jobs in Cron / Crontab

Servers can automatically perform tasks that you would otherwise have to perform yourself, such as running scripts. On Linux servers, the cron utility is the preferred way to automate the running of scripts. In this article we’ll cover how to view the jobs scheduled in the crontab list. For an introduction to Cron check-out our KB: How To: Automate Server Scripts With Cron. Knowing how to setup crontab is an important skill, but even if you’re not editing these knowing how to view them is important as well. Continue reading “How to Display (List) All Jobs in Cron / Crontab”