in reply to Limiting script cpu time
#!perl $SIG{ALARM} = sub {die "Time Out!"}; alarm(120); #this script will run for at most 120 seconds #your script goes here
thor
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Limiting script cpu time
by aquarium (Curate) on Jun 10, 2003 at 01:46 UTC |