|
|
 |
Re: FN-FORUM: Suggestions please charset="Windows-1250"
date posted 30th January 2006 11:32
On Monday 30 January 2006 12:00, Dave Cross wrote:
> Ian Winstanley wrote:
> > Dave, I use the CLI version of PHP for every cronjob driven programme
> > that I create.
>
> Well I thought it was rare as I'd never heard of anyone doing it. And
> finding one person working like that doesn't mean that it isn't rare :)
>
> But it's interesting to hear that people do it. What does it give you
> that Perl or Python or Ruby doesn't?
Nothing really! If you've got a web application running on PHP, and you want
to run cronjobs, it's easy to use your existing code to form the basis of the
script. It can be handy for running large batch jobs that would take too
long to run as an HTTP request, or are maybe a function that you don't want
to expose the the big nasty wide world...
Matt
|
 |
|