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.
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
Comment #1
dmuth commentedThis may or may not fix your issue, but have you considered using the "poormanscron" module instead of calling cron.php directly?
-- Doug
Comment #2
BlakeLucchesi commentedHow 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.
Comment #3
Stol commentedI 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.
Comment #4
gordon commentedSecure pages will only secure normal pages now and not anything else like cron.php or update.php