Be interseting to see what "perls" of wisdom the gurus comeup with but
in the meantime can you just launch it into the backgound and redirect
the output to a file?

something likethis maybe
# nohup perlprogram > proglog &

Bret

Alan Mead wrote:
> 
> I have a script that needs to run all the time to glue two processes
> together.  I wrote it in Perl and it works but I have to start it up
> manually and it writes to the screen.  I want to convert it to run in the
> background like a deamon, creating a PID file (I guess?), catching SIG's,
> writing to a log file, being started during boot, controlled through
> /etc/rc.d/init.d, etc.  I'm not a crack UNIX programmer and so I thought I
> would see if anyone had a boilerplate or sample program I could start from.
>  This is for Red Hat 6.x machines, if that matters.  Thanks in advance
> 
> -Alan
> ---
> Alan D. Mead  /  Research Scientist  /  [EMAIL PROTECTED]
> Institute for Personality and Ability Testing
> 1801 Woodfield Dr  /  Savoy IL 61874 USA
> 217-352-4739 (v)  /  217-352-9674 (f)
> 
> --
> To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
> as the Subject.
begin:vcard 
n:Hughes;Bret 
tel;fax:918.587.0131
tel;work:918.587.0131
x-mozilla-html:FALSE
url:www.elevating.com
org:Elevating Communications Inc
adr:;;PO Box 1323;Tulsa;OK;74101-1323;USA
version:2.1
email;internet:[EMAIL PROTECTED]
title:Chief Solutionist/President
x-mozilla-cpt:;19888
fn:Bret  Hughes
end:vcard

Reply via email to