Re: [PHP-DB] Re: a script that queries database periodically

Поиск
Список
Период
Сортировка
От clayton cottingham
Тема Re: [PHP-DB] Re: a script that queries database periodically
Дата
Msg-id 3A22FCA0.2F352CAF@marketingchallenge.com
обсуждение исходный текст
Ответ на a script that queries database periodically  (Bernie Huang <bernie.huang@ec.gc.ca>)
Список pgsql-sql
Roberto Mello wrote:
>
> Jason wrote:
> >
> > aolserver is a web/application server.  PHP is a server-side scripting
> > language.  Why exactly *should* it have a job scheduler?
> >
> > Some (such as myself) might also ask why should a web server have a job
> > scheduler, but that's a thread for a different list :)
>
>         Because PHP is supposed to solve web development problems. And this is
> one of them. It's very useful.
>
>         -Roberto
> --
> Computer Science                        Utah State University
> Space Dynamics Laboratory               Web Developer
> USU Free Software & GNU/Linux Club      http://fslc.usu.edu
> My home page - http://www.brasileiro.net/roberto

heya,

IMHO
it depends on why you are querying the db

if you need internet access data
such as how fast its querying or what have you
then yes php could be useful

if you need reports generated and mailed to someone
a crond shell script would seem more logical

В списке pgsql-sql по дате отправления:

Предыдущее
От: "Yoghini Thevarajah"
Дата:
Сообщение: FW: Sharing Databases
Следующее
От: Jason
Дата:
Сообщение: Re: [PHP-DB] Re: a script that queries database periodically