Yes, a while loop that does not terminate how I would write a daemon (in
any language).  Suggest having it touch a "heartbeat" file every cycle
and/or write state data to this file for monitoring and if you are
running it on Unix/Linux put it under daemontools
(http://cr.yp.to/daemontools.html) for better control including restart
automation and logging.

--
Tris Nefzger


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to