Re: Using php as a scripting language within cron jobs?
| From: | Robert Cummings | Date: | Fri, 17 May 2002 12:14:43 +0000 |
| Subject: | Re: Using php as a scripting language within cron jobs? | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-98054@lists.php.net to get a copy of this message | ||
Michael Virnstein wrote:
>
> afaik yes.
> The module version should be called if apache has been requested with one of
> the
> reqistered php file types. the cgi version can be used as shell interpreter.
> the only thing that can smash th whole thing imo, is if you try to use the
> cgi version
> via web if you have php also installed as apache module. but all of what i
> wrote is a guess,
> never tried by myself.
Works well, and if your using libraries of code, you can share between the
web module and the cgi. his is what I do, and sometimes I run a daemon to
update a cache, so that the web module never needs to hang the user while
it retrieves data from a remote site.
Cheers,
Rob.
--
.-----------------.
| Robert Cummings |
:-----------------`----------------------------.
| Webdeployer - Chief PHP and Java Programmer |
:----------------------------------------------:
| Mail : mailto:robert.cummings@webmotion.com |
| Phone : (613) 731-4046 x.109 |
:----------------------------------------------:
| Website : http://www.webmotion.com |
| Fax : (613) 260-9545 |
`----------------------------------------------'