Changes between Version 13 and Version 14 of Drupal HowTo Write Cron Tasks for CiviCRM
- Timestamp:
- 06/02/14 14:47:04 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Drupal HowTo Write Cron Tasks for CiviCRM
v13 v14 38 38 39 39 1. Initialise CiviCRM 40 1. Switch the user used for thr cron job from the anonymous user to the Cron System User for the duration of the processing.41 40 1. Check whether the cron job is enabled. 42 41 1. Ascertain if the cron processing is due to run. 42 1. Switch the user used for thr cron job from the anonymous user to the Cron System User for the duration of the processing. 43 1. Log the job start & stop, or 'not enabled' or 'not due' status 43 44 44 45 === Usage