Newsgroups: comp.sources.wanted Path: utzoo!telly!druid!darcy From: darcy@druid.uucp (D'Arcy J.M. Cain) Subject: Re: Execution Timer Organization: D'Arcy Cain Consulting, West Hill, Ontario Date: Sat, 3 Nov 90 13:20:33 GMT Message-ID: <1990Nov3.132033.17339@druid.uucp> References: <4147@anomaly.sbs.com> In article <4147@anomaly.sbs.com> Michael P. Deignan writes: >I'd like to find a program which would perform similar to the "time" command, >only in reverse: > time +nmins command.to.execute >Which would execute "command.to.execute" for up to "nmins" minutes. Never heard of one but assuming a UNIX system (you didn't say) running a Bourne shell this will do what you want I think: command & sleep 60 kill $! Will kill the command after 1 minute. -- D'Arcy J.M. Cain (darcy@druid) | D'Arcy Cain Consulting | I support gun control. West Hill, Ontario, Canada | Let's start with the government! + 416 281 6094 |