[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[OT] writing Perl scripts to run in the background



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  /  adm ipat com
Institute for Personality and Ability Testing
1801 Woodfield Dr  /  Savoy IL 61874 USA
217-352-4739 (v)  /  217-352-9674 (f)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]