how to Create a cron job in advanced mode Print

  • 0

Adding a cron job in advanced mode

Overview

Cron jobs allow you to automate certain commands or scripts on your server to complete repetitive tasks automatically. 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. Advanced mode allows you to add a cron job just as you would from the command line.

Steps

1 To access the Cron Jobs Menu, click on the icon above the words Cron jobs on the main screen of your cPanel interface.

2 Click on Advanced (Unix Style) to access the Cron Manager.

3 Enter the email address you wish the output of the command run by the cron job to be sent to in the field next to .... will be sent :

4 Enter the command you wish the cron job to run in the blank field below Command

5 Select how often you wish the command to be run by placing a number or * in each of the boxes.

6 Click on Save Crontab to save your changes and set up your cron job.

Troubleshooting

A * denotes to run the command at every possible time for that box. For example, a * in the month box would run the command every month.
More information on cron jobs can be found by searching google for: crontab


Was this answer helpful?

« Back

Powered by WHMCompleteSolution