>How do I compile php to work as a stand alone.  Right now it is working
>thru the web but need to run it from a cron job.

Have a look at http://www.php.net/manual/en/install.commandline.php

The easiest thing of course would be to just call lynx (or any other command line 
browser taht is able to do a HTTP request and exit (that's why the "-dump")) within 
your cron table, e.g.:

0 23 * * * lynx -dump localhost/path/to/some/php/robot.php > /dev/null



mit freundlichen Gruessen / yours sincerely


Gunther E. Biernat
Web Application Engineer
______________________________________________________________

RealNetworks GmbH                   Tel.: +49-40-415204-24
Weidestraße 128                     Fax.: +49-40-415204-11
22083 Hamburg                       Mail: [EMAIL PROTECTED]
Germany                             URL : http://de.real.com
______________________________________________________________



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to