Printable Version of Topic

Click here to view this topic in its original format

Linuxhelp _ Technical Support _ Crontab to Check Perl program

Posted by: Kilmarac Sep 21 2008, 01:32 PM


Unfortunately, I have yet to learn how to program a crontab script from the ground up. Im trying to figure out how to make a crontab script that will check to see if a Perl Program is running, and if not restart it.

I can see what needs to happen, just not how.

ps x | grep

If found END
If not found then run

Can anyone help me out?

Powered by Invision Power Board (
© Invision Power Services (