Trying run a php script from cron
Darrell Betts
betts at norden1.com
Tue Mar 9 17:37:01 UTC 2010
I am trying to run a php script from the cron tab and these are the
errors I receive:
/usr/local/bin/php php -q /home/xxxx/ripper.php result
Could not open input file: php
/usr/local/bin/php php -/home/xxxx/ripper.php result
Could not open input file: php
/usr/local/bin/php -/home/xxxx/ripper.php result
This script must be called from the command line.
Running Freebsd 8.0, Php 5.2.12
I have chmod the script 644 still no luck tried it chmod 777 still no
luck. I have goggled this problem and followed the tutorials but still
no luck.
Any ideas how I can get the script to run?
I can run run it from the command line without any problems.
Thanks
Darrell Betts
betts at norden1.com
-----------------------------------------------------------
Looks like I Picked the Wrong Week to Stop Sniffing Glue.
-- Steve McCroskey --
Live ATC Feed from Toledo Express Airport http://d.liveatc.net/ktol.m3u
More information about the freebsd-questions
mailing list