[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-developers] Crontab
- Subject: Re: [cobalt-developers] Crontab
- From: "Paul Gillingwater" <paul@xxxxxxxxxxx>
- Date: Sun Mar 25 13:45:01 2001
- List-id: Discussion Forum for developers on Cobalt Networks products <cobalt-developers.list.cobalt.com>
KPortsmout@xxxxxxx said:
> In a message dated 25/03/2001 18:05:25 GMT Daylight Time, paul@xxxxxxxxxxx
> writes:
>
> << Normally, PHP is configured as an Apache module. When you build it,
> you can also compile PHP as a separate stand-alone CGI-BIN binary, which
> can run scripts without the Web server. Just build without the
> --with-apache
> option. >>
>
> Hi,
>
> I don`t think that is a solution really, whether PHP runs with or without
the
> webserver shouldn`t make any difference as the crontab is being pointed to
a
> http://www location..
Crontab can only be used to run a script or binary in the file system. That
script can of course contain a lynx or wget command, which in turn can run
the script -- but be aware that if you do it this way, then you have to find
a way to secure the script so that other Web users don't use it. Personally,
I have used the PHP as a shell script, independent from the Web server. It's
a useful solution, and works just fine if you know what you're doing. (I'm
not suggesting you don't know, rather I'm trying to write for the audience of
developers who may not be aware of these system administration issues.)
--
*********************************
Paul Gillingwater
Managing Director
CSO Lanifex Unternehmensberatung
& Softwareentwicklung G.m.b.H.
NEW BUSINESS CONCEPTS
E-mail: paul@xxxxxxxxxxx
Telnum: +43/1/21 98 222
Mobile: +43/699/1922 3085
Webhome: http://www.lanifex.com
Address: Praterstrasse 60/1/2
A-1020 Vienna, Austria
*********************************