On Mon, 1 Oct 2001, John Edwards wrote: > How about getting the program to write a little text file out containing the > time it was last started. Check this date from within the script and if the > date is yesterday and the time is > 12:01am then restart. > > How often does the script finish it's internal loop (I'm assuming it loops, > does some checks, then loops again or performs an action)? > > How critical is it that the script be restarted at 12:01 exactly? > > And why does the script need restarting at all?
This sounds like a job for cron. -- Brett http://www.chapelperilous.net/ ------------------------------------------------------------------------ My doctorate's in Literature, but it seems like a pretty good pulse to me. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]