I have had success in running CLI php pages from a bat file fired via a 
scheduled task. Since the output can be limited I would suggest adding some 
logging functionality to the page to trap errors and write them to a file that 
you can use to analyze any issues.
 
bastien> To: php-general@lists.php.net> From: [EMAIL PROTECTED]> Date: Wed, 1 
Aug 2007 08:49:34 -0400> Subject: [PHP] I'm prepared to feel like an idiot... 
But I just simply need the answer :)> > 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> [EMAIL 
PROTECTED]> > 
_________________________________________________________________
Discover the new Windows Vista
http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE

Reply via email to