e-Website.com
Please Login or Register

Knowledgebase

Cron Jobs

To set up your own Cron job, first you need to log in to your cPanel account. Next, click on the cPanel Cron Jobs menu to begin. Your browser should then load the Standard Cron Manager page. Creating a Cron job in cPanel is fairly easy and only takes three simple steps:

  1. First, input your e-mail address in the given field. After the Cron job executes a task, the result will be sent to you so you will know if there are any errors.
  2. In the Command to run field, input the path to your desired script. If you want to run a PHP file, input php followed by a space and the path to your script. If you want to run an automatic backup script, you need to type /bin/sh followed the path to your script.
  3. Next, set your schedule. You can set the minute, hour, day, weekday and month of your Cron job. Remember, the shorter the interval you set, the more often you will receive e-mails informing you whether your scheduled task has been executed successfully. It is advised that you set a short interval so that you can quickly receive a notification e-mail. This is so that if there are any errors, you can go back and check your settings.

Once you have finished the three steps above, your Cron job is done. Click on the Save Crontab button to save your Cron job.



Was this answer helpful?

Add to Favourites Add to Favourites

Print this Article Print this Article

Also Read
SpamAssasin (Views: 166)
File Back Up (Views: 220)
E-mail Account Removal (Views: 196)
Web Disk Access (Views: 181)

Powered by WHMCompleteSolution

Language:

Quick Navigation

Client Login

Email

Password

Remember Me

Search



Follow Us on Twitter