Changes between Version 13 and Version 14 of Drupal HowTo Write Cron Tasks for CiviCRM


Ignore:
Timestamp:
06/02/14 14:47:04 (10 years ago)
Author:
Richard Bramley
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Drupal HowTo Write Cron Tasks for CiviCRM

    v13 v14  
    3838
    39391. 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.
    41401. Check whether the cron job is enabled.
    42411. Ascertain if the cron processing is due to run.
     421. Switch the user used for thr cron job from the anonymous user to the Cron System User for the duration of the processing.
     431. Log the job start & stop, or 'not enabled' or 'not due' status
    4344
    4445=== Usage