Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Mar 2010 11:57:07 -0500
From:      Darrell Betts <betts@norden1.com>
To:        freebsd-questions@freebsd.org
Subject:   Trying run a php script from cron
Message-ID:  <551AED7A-2336-40B6-B8B8-3EF2637D03B0@norden1.com>

next in thread | raw e-mail | index | archive | help
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@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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?551AED7A-2336-40B6-B8B8-3EF2637D03B0>