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?