If this is *NIX, another way to do it might be to arrange for cron to call killall (or kill if you know the PID; e.g. your script could write it to a file at a known location) at 11:30 the next day, and set up a %SIG handler for that signal in your script for a graceful exit.
In reply to Re: Self terminating a script after a specified time
by Anonymous Monk
in thread Self terminating a script after a specified time
by shardservant
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |