I was under the impression that placing an alarm(x) statement by itself would kill out my script after x amount seconds. It does not seem to work on one server I run my scripts on. I am not 100% sure on the server specs, but I believe it's an old netscape webserver. Anyway, placing alarm(15) at the top of my scripts is definitely not working. Any thoughts, hints, better ways of handling this type of an issue?

And please don't send me "Write better scripts" :cheesy:

--
- J e f f C o n k l i n -
- http://photos.carabs.com
- http://ycorner.com/?carabsjeff

If the box in question a unix box, try setting up a signal handler - with use sigtrap

alarm() is supposed to send a SIGALRM to the process, which by default terminates.
Unless another handler (trap statement) is active

This does not work in Windows.