Thanks, it works fine.
--Garry

-----Original Message-----
From: Michael Smith [mailto:[EMAIL PROTECTED]]
Sent: Sunday, March 12, 2000 4:34 PM
To: [EMAIL PROTECTED]
Subject: old--Re: Trouble with at command


Use an `at` command to run `killall PROCESSNAME`  15 minutes later.  It's
crude, but effective and lets you specify which process by command name
instead of PID.  See TFM for killall(1).

--Mike

"Barker, Gerald A (MD)" wrote:

> I am trying to use "at" to automatically record a radio program using
"rec"
>  from the command line.    This works fine except I want to turn it off
> after about 15 minutes and to do this I need to output a control-c to
> terminate rec.  I have tried to do this with no success.  I can't find a
> timer option in at and running a second at or cron 15 minutes later
doesn't
>  work because rec is waiting for a control-c and hasn't returned control
> to the command line.  If I need to write a perl script could you give some
> basic advice what approach to take.  Thanks
>
> Garry Barker

--
Michael J. Smith [EMAIL PROTECTED] [EMAIL PROTECTED]
4052 Southway Loop, Springfield OR 97478
(541) 726-1561

Reply via email to