If a redirect rule is created for the anonymous role, it appears to break cron.

Specifically, poorman's cron still functions, but calling cron.php from a web browser or crontab causes the request to redirect, and consequently cron does not run.

This appears to be roughly related to the issue here:
http://drupal.org/node/1285210

I have attached a patch that works for D7, but likely won't backport to D6.

CommentFileSizeAuthor
#2 front_cron_1620074.patch492 bytesaasarava
patch.txt363 bytesjake.mw

Comments

simon georges’s picture

Status: Active » Needs review
aasarava’s picture

Version: 7.x-2.1 » 7.x-2.x-dev
StatusFileSize
new492 bytes

Thanks for the fix, jake.mw. I've re-rolled the patch using git against the latest 2.x branch. I also made a minor tweak to prevent an index warning in PHP.

simon georges’s picture

Cross-referencing #1470550: Using Front Page with installation profile as the concerned code is the same.

simon georges’s picture

Status: Needs review » Closed (duplicate)

#1371120: Ignore non index.php requests is actually a more generic version of this one, so closing this one as a duplicate.