Home
/
Other Applications
/
I am having problems with my cronjob and/or it is not working

I am having problems with my cronjob and/or it is not working

In case you have problems with your cron job, follow these steps for troubleshooting:

  1. Make sure the syntax of your command is correct. For this purpose read carefully the manual for the command you are using;
  2. 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:

http://drupal.org/cron

We recommend that for all applications you follow the cron instructions literally.

Share This Article