Netshop-Isp
10-23-2010, 09:40 AM
Many people are yelling that they cannot configure the cron jobs (a.k.a crons) properly.
Here is a short tutorial which will help you set them. I have tried my best to explain the concept but there can be more advanced configurations.
Basically you will want to run a PHP script file in specific intervals. Suppose you want to execute a php file every 5 minutes.
There are 6 basic setups to get your Cron job setup and running:
Step 1:
Login to your cPanel account. If you have forgotten your username or password you will need to contact your web hosting provider.
To access the Cron Jobs Menu, click on the corresponding icon located on the main screen of your cPanel interface (you may need to scroll down the page a bit).
Step 3:
Enter the email address where the cron output will be sent to in the corresponding field.
Step 4:
Select how often you wish the command to be run by selecting an option in each of the boxes.
Step 5:
Enter the command you wish the cron job to run in the blank field next to the Command to run label.
Step 6:
Click on Save Crontab to save your changes and set up your cron job.
Here is a short tutorial which will help you set them. I have tried my best to explain the concept but there can be more advanced configurations.
Basically you will want to run a PHP script file in specific intervals. Suppose you want to execute a php file every 5 minutes.
There are 6 basic setups to get your Cron job setup and running:
Step 1:
Login to your cPanel account. If you have forgotten your username or password you will need to contact your web hosting provider.
To access the Cron Jobs Menu, click on the corresponding icon located on the main screen of your cPanel interface (you may need to scroll down the page a bit).
Step 3:
Enter the email address where the cron output will be sent to in the corresponding field.
Step 4:
Select how often you wish the command to be run by selecting an option in each of the boxes.
Step 5:
Enter the command you wish the cron job to run in the blank field next to the Command to run label.
Step 6:
Click on Save Crontab to save your changes and set up your cron job.
