You can use cron at 7:30 to kill the job by name. suppose your process was
started at 5 pm and is named foo.
Then you'd enter a crontab entry to, at 7:30, "killall foo"
On Thu, 25 Feb 1999, Dan Browning (Network Admin) wrote:
> I understand cron.daily, .hourly, etc. But I would like to have a program
> run at a specific time (say, 5:00pm every night), and then be killed the
> next morning at 7:30am. How can this be done?
_Deirdre * http://disclaimer.deirdre.org * http://www.deirdre.net
"I would rather choose to have my leg bitten off than to buy NT"
Rob Narberes, Information Systems Manager, DNA Plant Technologies Corp
as quoted in (!) Computerworld