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?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: A perl daemon
by clinton (Priest) on Jan 20, 2009 at 20:14 UTC | |
by trm (Novice) on Jan 20, 2009 at 21:02 UTC | |
by clinton (Priest) on Jan 21, 2009 at 10:10 UTC | |
by trm (Novice) on Jan 21, 2009 at 18:26 UTC |
In Section
Seekers of Perl Wisdom