[LUNI] Making a perl script run contantly.

Arun Khan knura at yahoo.com
Fri Jan 11 15:23:20 CST 2008


On Friday 11 Jan 2008, Richard Reina wrote:
> I have a short perl scripts that waits for input from a serial drive
> and parses the data.  My problem is that if the machine is rebooted
> then someone has to log in and manually start the script.  

Does the script run in the foreground or in the background?  Perhaps you 
could modify the script to run as a daemon - see webmin on how this is 
done.

As someone suggested, run the daemon from rc.local or 
an /etc/init.d/<script>

-- Arun Khan


More information about the luni mailing list