Re: Cronjob Apache module v CGI [message #170615 is a reply to message #170613] |
Wed, 10 November 2010 11:35 |
Jerry Stuckle
Messages: 2598 Registered: September 2010
Karma:
|
Senior Member |
|
|
On 11/10/2010 5:49 AM, +mrcakey wrote:
> I seem to remember strong opinions were expressed (possibly by Jerry
> Stuckle) over which was best for running cronobs and I think at the time I
> nodded and thought they were very valid points. I think CGI was the way to
> go?
>
> I'm about to build a script to query the sessions database and clean up
> reserved items that the customer didn't follow through on.
>
> I currently have PHP running as an Apache module and I'm not as comfortable
> as I'd like to be in Linux so would like to avoid fiddling if the security
> implications are not overwhelmingly pro-CGI.
>
> As a side, and this will undoubtedly reveal the level of my Linux/Apache
> ignorance, is it possible to have PHP bound into Apache for the customer
> facing/HTTP side of things and also create a CGI interface for the cronjobs?
>
> --
> +mrcakey
>
>
It wasn't I - I have no problem with cron jobs in general; I do have a
problem with the misuse of cron jobs (or other things), but that doesn't
seem to be the problem here.
As long as your hosting company allows you to run cron jobs, this seems
like a good way to go. PHP runs fine as a CLI application as well as
under a web server. And I've never seen a server where just one is
installed (although it's possible, I guess).
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
|
|
|