Well, one way would be the following:
1. Start the program the normal way in crond.
2. To stop it, write a script that looks for the program via ps, gets its
pid that way, then kills the pid. Run this as a crond job at the stop time.
At 04:55 PM 2/25/99 -0000, 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?
>
------------------------------------"Never tell me the odds!"---
Ray Olszewski -- Han Solo
762 Garland Drive
Palo Alto, CA 94303-3603
650.321.3561 voice 650.322.1209 fax [EMAIL PROTECTED]
----------------------------------------------------------------