Re: Re: [PHP-DB] Re: [SQL] a script that queries database periodically
В списке pgsql-general по дате отправления:
| От | Dan Wilson |
|---|---|
| Тема | Re: Re: [PHP-DB] Re: [SQL] a script that queries database periodically |
| Дата | |
| Msg-id | 009d01c05dc7$ccd59b80$078353d8@danwilson обсуждение исходный текст |
| Ответ на | Re: [SQL] a script that queries database periodically ("Poul L. Christiansen" <poulc@cs.auc.dk>) |
| Список | pgsql-general |
> 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. I disagree! Cronjobs are not a web development problem. That is something that should be handled on the server/machine side. PHP is purely designed to dynamically create web pages. It has other things built into it, but each one interfaces with the web page somehow. A cronjob doesn't use the web at all. The web is an interactive thing and the whole purpose of a job scheduler is to avoid interaction. Sure a job scheduler is useful, but it is outside the scope and mission of PHP. -Dan
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера