It might depend on your projects needs.  We have two daemon-like processes.  One listens on a TCP/IP port 24x7, but just in case it dies we have it setup in a cronjob to try and execute once a minute.  It&#39;s not elegant, but it works for us.<br>

<br>The second process isn&#39;t a daemon per-se.  We just run it from cron at 10 minute intervals and it processes anything that it finds in it&#39;s directory.  Since the processing time can take quite a while, we put a flag file in the directory when we start, and delete it when we&#39;re done.<br>

<br>I think the first one is the daemon-like example you&#39;re looking for.  Check out your distributions init.d scripts and start there.<br><br>Dan<br><br><div class="gmail_quote">On Fri, Jun 11, 2010 at 14:07, Jay Hannah <span dir="ltr">&lt;<a href="mailto:jay@jays.net">jay@jays.net</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">On 6/11/2010 1:03 PM, Todd Hamilton wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
What module or approach do you guys use to Daemonize a perl application?<br>
</blockquote>
<br></div>
We&#39;ve got a bunch of home-spun .sh reminiscent of /etc/init.d/apache2 and friends. I&#39;m sure there&#39;s prettier ways, but I&#39;ve never used one. If you find one you like tell us about it.   :)<div><div></div><div class="h5">

<br>
<br>
j<br>
<br>
_______________________________________________<br>
Omaha-pm mailing list<br>
<a href="mailto:Omaha-pm@pm.org" target="_blank">Omaha-pm@pm.org</a><br>
<a href="http://mail.pm.org/mailman/listinfo/omaha-pm" target="_blank">http://mail.pm.org/mailman/listinfo/omaha-pm</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>***************** ************* *********** ******* ***** *** **<br>&quot;Quis custodiet ipsos custodes?&quot;<br>    (Who can watch the watchmen?)<br>    -- from the Satires of Juvenal<br>

&quot;I do not fear computers, I fear the lack of them.&quot;<br>    -- Isaac Asimov (Author)<br>** *** ***** ******* *********** ************* *****************<br>