FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Cronjob Apache module v CGI
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Cronjob Apache module v CGI [message #170615 is a reply to message #170613] Wed, 10 November 2010 11:35 Go to previous messageGo to previous message
Jerry Stuckle is currently offline  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
==================
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Most efficient way to randomize a quiz from a database
Next Topic: freelancer looking for web-development projects
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Nov 26 18:41:40 GMT 2024

Total time taken to generate the page: 0.03898 seconds