I try to run cron with the link provide in the administration section where it says: "To run cron from outside the site, go to http://www.mydomain.com/cron.php?cron_key=apHOYpCPxH3zUyvxmwX2A9herK1anb..."
and I get an "Access Denied" error.

I inserted a print_r right before the key check in the cron.php file and the $_GET variable looks like this:
Array ( [cron_key] => [HOY] => [CPxH3zUyvx] => [wX2A9herK1] => [nbuhcNXhS5cNP80] => [q] => node/118 )

My understanding is that it should look more like this:
Array ( [cron_key] => apHOYpCPxH3zUyvxmwX2A9herK1anbuhcNXhS5cNP80 [q] => node/118 )

Because of that cron breaks up with the message "Cron could not run because an invalid key was used."

How can this happen?

Comments

vlad.k’s picture

Status: Active » Closed (works as designed)

It wasn't Drupal problem. It's related to the web server configuration.

ram4nd’s picture

Version: 7.26 » 10.0.x-dev
Issue tags: -cron key $_GET