Details
-
Type: Patch
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.2.4, Unscheduled
-
Fix Version/s: 4.3.0
-
Component/s: Drupal Integration Modules
-
Labels:None
Description
The documented method for calling scheduled tasks from Drush is failing on current SVN. According to http://wiki.civicrm.org/confluence/display/CRMDOC42/Managing+Scheduled+Jobs we should use
drush @example.org -u admin cvapi Job.execute
but this fails with the following error
ERROR: You need to send a valid key to execute this file. More info at:http://wiki.civicrm.org/confluence/display/CRMDOC/Managing+Scheduled+Jobs
Drush command terminated abnormally due to an unrecoverable error. [error]
Adding the additional parameter auth=0 makes it succeed.
Patch adds auth = 0 to Drush cvapi defaults and and argument documentation.