Hi all,

I want to make a Perl program that runs permanently without stopping.
How can I do this?

I could run the program from shell using:

nohup perl script.pl &

..... but if for some unknown reasons the process will be stopped, it won't
restart automaticly.

How can I make it to start automaticly after stopping?

If I will use a cron job, how can I verify if the process is running, to
decide if I need to start it or not on ... lets say each hour?

Thank you.


Teddy,
Teddy's Center: http://teddy.fcc.ro/
Email: [EMAIL PROTECTED]



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to