http://qs321.pair.com?node_id=737643


in reply to Re: A perl daemon
in thread A perl daemon

I found this code potentially very handy. However, I found that the dispatcher function within the class is a new process every time it executes. So if I update the cron, the changes are lost once the function completes.

If I create something similar as a script (not as a daemon), the schedule doesn't fork off a new process each time the function is called.

Is there a way to mimic this functionality (non-forking) by using a daemon similar to the above example?