Re: php stand alone
| From: | Gunther E. Biernat | Date: | Tue, 24 Jul 2001 12:31:58 +0000 |
| Subject: | Re: php stand alone | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-59331@lists.php.net to get a copy of this message | ||
>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: GEBiernat@real.com
Germany URL : http://de.real.com
______________________________________________________________