Details
Description
I didn't find any resolved issues against 3.1.6 / 3.2 for this issue, but if it's fixed please let me know
When running a cron job for CiviMail, 200 OK is returned even if access is denied. This means that automated tools like Hudson can't detect when cron failed. It would be great if all cron scripts could return 403 Forbidden if the user, password, or site key fail during a cron run.
$ wget -O - -t 1 "http://association.drupal.org/sites/all/modules/civicrm/bin/civimail.cronjob.php?name=user&pass=pass&key=md5"
Resolving association.drupal.org... 140.211.166.61
Connecting to association.drupal.org|140.211.166.61|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 128 [text/html]
Saving to: `STDOUT'
0% [ ] 0 --.-K/s ERROR: Invalid key value sent. More info at:http://wiki.civicrm.org/confluence/display/CRMDOC/Command-line+Script+Configuration
100%[===========================================================================================>] 128 --.-K/s in 0s
2010-08-12 16:23:36 (7.21 MB/s) - written to stdout [128/128]