July 25th, 2003, 02:43 AM
timeout for a perl script - Pls Help!
i am a novice at perl.. just to check. If i have a cron that executes a perl script, that is it will perl xxx.pl. How can i have a timeout session for the perl script so that if the perl application hangs, the cron will not keep running.
July 25th, 2003, 03:06 PM
I guess you should have asked this in the perl forum, cuz this is more of a perl coding thing and has been answered there before.
See Timed Code Execution
and Incrementing by the hour
Up the Irons
What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home.
"Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest
Down with Sharon Osbourne
"I wouldn't hire a butcher to fix my car. I also wouldn't hire a marketing firm to build my website." - Nilpo