RE: [PHP] php stand alone
| From: | scott [gts] | Date: | Tue, 24 Jul 2001 14:56:42 +0000 |
| Subject: | RE: [PHP] php stand alone | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-59354@lists.php.net to get a copy of this message | ||
but remember, if you put your cron/admin scripts into
a directory on a publicly accessable webserver, you
run the risk of having anonymous websurfers run your
scripts at inopportune moments.
> -----Original Message-----
> From: Gunther E. Biernat [mailto:GEBiernat@real.com]
> Sent: Tuesday, July 24, 2001 8:32 AM
> To: Adrian D'Costa; php general list
> Subject: Re: [PHP] php stand alone
>
>
> >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
> ______________________________________________________________
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>