Look at the Time::Limit module. It terminates the script after a given time. In your case, the usage would be:
use Time::Limit '86400.0'; # terminate after 86400 seconds (24h)
Could be just the thing you need.
- Luke
In reply to Re: Self terminating a script after a specified time
by blindluke
in thread Self terminating a script after a specified time
by shardservant
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |