|
My website is not updating every hour. What's wrong? |
|
|
|
For your site to update every hour you have to set up a cronjob. This sounds complicated but i's not and if you don’t want to deal with it, just set up cron at www.webcron.org. To set up cron in Cpanel: - From your Cpanel Select Cronjob (under Advanced and then select Standart) - You have to crate a string which you have to enter in the field "Command to run" The string should look like php -q /home/my_project_dir/public_html/cron.php - Select the minutes, hours, and days when you want your script to run to refresh the data. (see the screenshot on page 2) - Click on "SaveCrontab". |