Cron Job Question


I am trying to run this cron job:

/usr/local/php5/bin/php $HOME/thecosmeticcounter/wp-content/plugins/wp-o-matic/cron.php?code=f4642ecd

but I keep getting this error:

Cron XXXXXX@electra /usr/local/bin/setlock -n /tmp/cronlock.2378705.17293 sh -c $’/usr/local/php5/bin/php \044HOME/thecosmeticcounter/wp-content/plugins/wp-o-matic/cron.php\077code\075f4642ecd \012’

Could not open input file: /home/XXXXXX/thecosmeticcounter/wp-content/plugins/wp-o-matic/cron.php?code=f4642ecd

Any help would be appreciated.


Wild guess, but maybe it’s the additional parameter that’s throwing it off. Give ‘curl’ a try which will act like you’re hitting it with a browser. There’s been a recent lengthy discussion regarding curl recently in here, or the General Troubleshooting forum.