Cron Jobs

The cron job should only be created after installing the program.

Overview

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

A cron job controls "back end" tasks that need to be triggered on a regular basis.

The program requires the following cron jobs. While you can set the run-time intervals to whatever you wish, we recommend staying within the recommended settings.

General Cron Job

  • Purpose: Renews subscriptions, queues automated campaign emails, and re-builds some key statistics used by the program.
  • Run Time: Recommended run time is every 1-3 hours.
MinuteHourDayMonthWeekdayCommand
0*/2***php /full/server/path/to/members/admin/cp-cron/index.php

E-Mail Queue Manager

  • Purpose: Sends e-mails scheduled for dispatch.
  • Run Time: Recommended run time is every 10-30 minutes.
MinuteHourDayMonthWeekdayCommand
*/15****php /full/server/path/to/members/admin/cp-cron/emailing.php

cPanel Walkthrough

  • Log into your website's cPanel.
  • Click on "Cron Jobs" under "Advanced":
  • Create the cron job by typing in the correct specs for each of the three cron jobs listed above. Below is an example for the "General Cron Job":

Creating a cron job from cPanel. In this example we create the General Cron Job.

  • Click on "Add New Cron Job".
  • The cron job will now appear under "Current Cron Jobs".
  • Important: Keep an eye on the footer of your administrative dashboard. This will tell you whether the cron job is properly running or not:

Troubleshooting

Click here for information on troubleshooting cron jobs that are not working.

Article Links

Related Articles

Article Tags

  • No tags found.

Details

Published on 2013/07/17.
Last updated on 2016/03/01.

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