Why is my cron job not running properly?

There can be several reasons why a cron job won't run properly.

Incorrect Command

Ensure that the command is correctly inputted into your web site control panel. You can confirm this by requesting a cron job report by email (done from the cron job creation page of your website's control panel), or by contacting your web hosting provider.

Incorrect Permissions

Please make sure that all files within the "admin/cp-cron" folder are set to permissions "755".

Incorrect Path

If you open these two files:

  • admin/cp-cron/index.php
  • admin/cp-cron/backup.php

You may need to replace this line:

require '../sd-system/config.php';

With the full server path version:

require '/full/server/path/here/to/admin/sd-system/config.php';

You can find the correct full server path by opening your "admin/sd-system/config.php" file and reading this line:

define('PP_PATH','/home/mysite/public_html/members');

In this case, you would update the above two files as follows:

require '/home/mysite/public_html/members/admin/sd-system/config.php';

Article Links

Related Articles

Article Tags

  • No tags found.

Details

Published on 2013/09/12.
Last updated on 2013/09/12.

Was this article helpful?
Yes (0) - No (0)

Share This Article