Hi I have WordPress 3.4.2 and CiviCRM 4.2.1 and I can't get the cron job working.
Here's what I think is the correct command with a genericised WordPress URL: wget -O - -q -t 1 "http://www.mysite.com/wp-content/plugins/civicrm/civicrm/bin/cron.php?name=uuuu&pass=ppppp&key=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&w=0"
When I call it from the command line on my local dev installation I get nothing back at all. If I then look in the Civi > Admin > Scheduled jobs, there is no indication that anything has run, the log shows nothing and the last scheduled time for the enabled jobs isn't updated. (If I choose Execute Now, it works fine).
On the live site, again it works fine if I invoke something from Admin Schedule Jobs screen (and the log is correctly updated). However there, when I fetch the URL manually from the command prompt or from the cron job, I get <br />
<b>Fatal error</b>: Call to a member function add_shortcode() on a non-object in <b>/var/www/vhosts/championrowing.org.uk/httpdocs/wp-content/plugins/contact-form-7/includes/shortcodes.php</b> on line <b>164</b><br />
Now I realise that contact-form-7 is a separate plug-in that I'm using with WordPress, but I'm surprised to see this error here given that the site works fine and the scheduled jobs work fine from the admin screen (and that this doesn't happen on my dev site). So I think this is perhaps a bit of a red herring.
I'm at a loss as to how to debug this. I haven't managed to make the remote PHP debugger work on my dev site.