On Aug 1, 2007, at 8:55 AM, Brad Bonkoski wrote:
I would start with suppling the entire path of for php in the
cron. The path in the cron environment may be vastly different
then the path in your shell environment...
so: /path/to/php file.php
See how that works for you, of course I am assuming it runs fine
from your command line...
-B
Actually I haven't gotten to the point of setting it up on the cron,
I can't get it to run the php script from the cli.. thought I should
test that first :)
Once that works I'll add it to the cron :)
Jason Pruim wrote:
Hi All :)
I have a php script that I am attempting to run from the CLI to
connect to a MySQL database and update a field. but when I run it
with this command: php cronjob.php it prints out the script on
screen but doesn't process it...
Running: php-r"phpinfo();" prints out the standard phpinfo
screen.. and I don't think I should have to write it differently
to make it run from the command line right?
HELP! I'm desperate... I would offer to name my first born after
you... But he's already been born :)
--
Jason Pruim
Raoset Inc.
Technology Manager
MQC Specialist
3251 132nd ave
Holland, MI, 49424
www.raoset.com
japruim@xxxxxxxxxx
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
Jason Pruim
Raoset Inc.
Technology Manager
MQC Specialist
3251 132nd ave
Holland, MI, 49424
www.raoset.com
japruim@xxxxxxxxxx
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php