Child pages
  • How To Use CRON To Do Scheduled Database Backups
Skip to end of metadata
Go to start of metadata

A cron job allows you to run a certain command at times set by the job. For example, you could set a cron job to delete temporary files every week so that your disk space is not being used up by those files.

To access the Cron Jobs Menu, click on the corresponding icon located on the main screen of your cPanel interface.

The Standard mode provides a range of pre-set options that you can choose. This is the simplest method and is recommended.


Adding a cron job:

To access the Cron Jobs Menu, click on the corresponding icon located on the main screen of your cPanel interface.
Click on Standard to access the Standard Cron Manager.
Enter the email address where the cron output will be sent to in the corresponding field.
Enter the command you wish the cron job to run in the blank field next to the Command to run label.
Select how often you wish the command to be run by selecting an option in each of the boxes.
Click on Save Crontab to save your changes and set up your cron job.

The command run by the cron job must be a valid command.

Deleting a cron job:

When a cron job is no longer needed, you should delete it so the command will not continue to run.

To access the Cron Jobs Menu, click on the corresponding icon located on the main screen of your cPanel interface.
Click on Standard to access the Standard Cron Manager.
Click on the Delete button next to the cron job you wish to remove.