Hello,
I wanned to set up a cron job, which would be a php script. I've read daniel's faq, and followed his advise how to set the deamon task. Butsomething seems not working. My cron entries were:
Sadly, both of above emailed these errors:
What should I do to fix this?
edit:
Steve's advise fixes it :).
Cheers,
Arin.
Last edited by Arin on Tue Dec 27, 2005 9:47 pm; edited 1 time in total
I wanned to set up a cron job, which would be a php script. I've read daniel's faq, and followed his advise how to set the deamon task. Butsomething seems not working. My cron entries were:
| Code: |
| /usr/bin/php -q /home/arin/script.php // this is as in faq
php -q /home/arin/script.php // this was used becoz I thought that php executable will be in $PATH var for my account. |
| Code: |
| /bin/sh: line 1: /usr/bin/php: No such file or directory
/bin/sh: line 1: php: command not found |
What should I do to fix this?
edit:
Steve's advise fixes it :).
Cheers,
Arin.
Last edited by Arin on Tue Dec 27, 2005 9:47 pm; edited 1 time in total
