How to set up cron jobs in cPanel

In this article, you will learn how to set up, edit and remove a cron job in cPanel. By creating a cron job you’re able to automatically run tasks at a certain time, this could be a WordPress backup via softaculous.

Creating a cron job #

To add a cron job, follow these steps:

  1. Log in to cPanel.
  2. In the search bar, Type cron jobs then click it
  3. Select your time from the common settings dropdown box or select your own time from the dropdowns underneath.
  4. In the Command text box, type a command you would like to run.
    example: /usr/local/cpanel/whostmgr/docroot/cgi/softaculous”/cli.php –backup –auto=1 –insid=26_50193
  5. Click Add New Cron Job. cPanel creates the cron job.

#

Editing a cron job #

To edit a cron job, follow these steps:

  1. Log in to cPanel.
  2. In the search bar, Type cron jobs then click it
  3. Scroll down to Current Cron Jobs.
  4. Click Edit on the cron job you would like to edit.
  5. Make the changes required
  6. Click Edit Line
    Your changes have been saved

#

Deleting a cron job #

To delete a cron job, follow these steps:

  1. Log in to cPanel.
  2. In the search bar, Type cron jobs then click it
  3. Scroll down to Current Cron Jobs.
  4. Click Delete on the cron job you would like to remove.
    Your cron job has been deleted

#

 

[rev_slider alias=”Conor-Bradley-Digital-Agency-knowledge-base-bottom-footer”][/rev_slider]

 Facebook | Twitter | Instagram | LinkedIn  | Youtube | Vimeo | Blog | Knowledge Base | Client Area | Google Business

Updated on June 22, 2021