Should emulate drupal_run_cron() in Drupal 7 and switch the current user to drupal_anonymous_user() and after cron switch it back. Cron should always be for the anonymous user. :)

Comments

dave reid’s picture

Status: Active » Needs review
StatusFileSize
new1.07 KB
dave reid’s picture

Version: 6.x-2.x-dev » 5.x-2.1
Status: Needs review » Patch (to be ported)

Committed to DRUPAL-6--2 and needs to be possibly backported.
http://drupal.org/cvs?commit=364548

dave reid’s picture

Status: Patch (to be ported) » Fixed

Committed to DRUPAL-5--2 as well.
http://drupal.org/cvs?commit=364550

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.