Cron job question
Posted by: SleeplessinDC
Posted on: 2009-09-17 15:40:00
I am trying to set up a cron job for a php5 script using the Dreamhost cron job panel. I've tried the way the wiki suggests using the php5 string and the full path:
'/usr/local/php5/bin/php /home/stcwdc/stcwdc.org/wdcblog/wp-content/plugins/jobs/cron'
I get "Could not open input file: /home/stcwdc/stcwdc.org/wdcblog/wp-content/plugin"
I've tried
'/usr/local/php5/lib/php /home/stcwdc/stcwdc.org/wdcblog/jobs/cron'
And I get "sh: /usr/local/php5/lib/php: is a directory"
I've asked the plugin developer about it and he replied:
you should try something along this lines "wget -q --delete-after http://stcwdc.org/wdcblog/jobs/cron"
Is that correct? Where does it go in the commands?
Thanks for your help.