Not sure if this is the best place to post this, however I noticed an issue with Secure Pages and calling cron.php. With Secure Pages and SSL, my server is unable to call cron, as it rejects it as an unauthorized user.

Comments

dmuth’s picture

This may or may not fix your issue, but have you considered using the "poormanscron" module instead of calling cron.php directly?

-- Doug

BlakeLucchesi’s picture

How I worked around this is I created my own module that has a menu path defined in hook_menu and then I copied the actual code from poormans cron that calls all the cron hooks and inserted it into my menu callback function. Voila, that gives you an actual drupal path that makes cron fire and you can protect it as you wish with drupal permissions.

Stol’s picture

I tought I had the same issue. Everytime I ran cron.php I was redirected (302) until I ran it via https instead of http. That worked.

gordon’s picture

Status: Active » Fixed

Secure pages will only secure normal pages now and not anything else like cron.php or update.php

Status: Fixed » Closed (fixed)

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