Re: scheduler daemon?
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.php archive

Re: scheduler daemon?

From: Gordon Burditt <gordonb.4d2lk@burditt.org>
Date: Wed Jul 13 2005 - 02:32:47 CEST

>is it possible to have a php script running as a daemon in the
>background that automatically performs something (ie, a php script)
>when a file is updated in a specific folder/directory?

Command-line-only PHP does exist but it may not be present on
hosted sites if the host didn't build it. Such a script won't
"automatically perform"; it will need to check periodically and
do something if needed.

>if not, is there
>something non-php that does this which can be set to automatically run
>a php script when a file is modified?

Cron can run a script periodically. The script still needs to check
and do something if needed.

                                                Gordon L. Burditt
Received on Mon Oct 17 21:06:11 2005