Greetings and salutations. I know some of you must be growing impatient with all of these cron questions from the noobs. I am at a loss. I have consulted all of the documentation links posted in the cron question threads and tried every example given. I have even changed hosting providers and installed a fresh copy of Drupal 7 and CiviCRM separately (the bundle caused all kinds of errors that I didn't know how to fix). I have everything working now except cron. Still. I have scoured every resource I can find trying to understand cron and c/p'ed every example of cron settings relevant to CiviCRM and Drupal. I still cannot get cron to fire automatically and the error on the status page will not go away. I can click the button and run it manually, so it doesn't seem to be a permissions issue. I really don't know what else to do at this point. My current cron setting is
22 */2 * * * wget -O - -q -t 1 http://mydomain.com/cron.php?cron_key=mykey > /dev/null
Can anyone please explain to me WHY this is wrong so that hopefully I can get this running? Please and thank you.
Solution: Single quote (') before http and after the end of site key in addition the wget etc.
This is how it should look:
*/6 * * * * wget -O - -q -t 1 'http://mydomain.com/sites/all/modules/civicrm/bin/cron.php?name=username&pass=password&key=site-key'
Thank you everyone for the help and to Hock for providing the info about single quotes around the http attribute.