We don't bite newbies here... much | |
PerlMonks |
Re: A perl daemonby trm (Novice) |
on Jan 20, 2009 at 19:00 UTC ( [id://737643]=note: print w/replies, xml ) | Need Help?? |
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?
In Section
Seekers of Perl Wisdom
|
|