I am having problems with my cronjob and/or it is not working
In case you have problems with your cron job please follow these steps for troubleshooting:
- Make sure you have followed our tutorial for setting your cron job;
- Make sure the syntax of your command is correct. For this purpose read carefully the manual for the command you are using;
- When setting up the cron job make sure you provide a valid email for receiving the output of your commands. This will help in the debugging.
SiteGround's web hosting servers have a standard setup and all popular Linux commands can be invoked using their standard syntax. Here is an example of a cronjob for lynx:
lynx -source http://example.com/cron.php
There are many popular applications that recommend setting up a cron job. In case you are using Drupal check this link:
We recommend that for all applications you follow the cron instructions literally.
You find this article useful? Click here to learn more about SiteGround web hosting experts and what else we can do for you!