krimster Posted February 8, 2007 Share Posted February 8, 2007 Hi everyone. Read the topics, searched, and looked thru the manual, but still can't get my head around this. I get this support email every time the cron runs: Subject: Cron 0 9 * * * php -q /home/...../admin/cron.php Priority: Medium /bin/sh: 0: command not found I thought I had everything set up correctly, but obviously not. Where do I start? I know the piping is correct, I set the forwarder fine, just can't seem to get this right. Any ideas appreciated. 0 Quote Link to comment Share on other sites More sharing options...
generic Posted February 21, 2007 Share Posted February 21, 2007 strange, did you place those numbers in the cron line too? they are not supposed to be in the line, they are the time triggers. if that does not work, depending on your system you could try.. /usr/bin/php -q /home/......./admin/cron.php 0 Quote Link to comment Share on other sites More sharing options...
DataHosts Posted February 21, 2007 Share Posted February 21, 2007 the numbers are not in the cron line...they are there by cut/paste. It just shows that way in advanced view of cron. Cron 0 9 * * * /usr/bin/php -q /home/.../admin/cron.php > /dev/null Put > /dev/null at end You look to have this setup to send you messages when it has run the cron.php. Put > /dev/null at end and should be good. /dev/null can be used to say "don't bother me" 0 Quote Link to comment Share on other sites More sharing options...
generic Posted February 21, 2007 Share Posted February 21, 2007 I thought that was a good error message, not a sucessfull cron message sorry. so that is what is emailed when the cron is run properly? I removed dev/null from my cron to see if it is running ok tonight myself too. ...thanks will look for it tonight. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.