From owner-freebsd-questions Sun Jan 26 11:58: 5 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C23C037B401 for ; Sun, 26 Jan 2003 11:58:04 -0800 (PST) Received: from mail.dubium.com (h24-78-225-134.vn.shawcable.net [24.78.225.134]) by mx1.FreeBSD.org (Postfix) with ESMTP id E70AE43F18 for ; Sun, 26 Jan 2003 11:58:03 -0800 (PST) (envelope-from joe@dubium.com) Received: (qmail 8993 invoked from network); 26 Jan 2003 20:00:19 -0000 Received: from localhost (HELO dubium.com) ([127.0.0.1]) (envelope-sender ) by 0 (qmail-ldap-1.03) with SMTP for ; 26 Jan 2003 20:00:19 -0000 Received: from 192.168.0.1 (SquirrelMail authenticated user joe@dubium.com) by sigfried with HTTP; Sun, 26 Jan 2003 12:00:19 -0800 (PST) Message-ID: <1091.192.168.0.1.1043611219.squirrel@sigfried> Date: Sun, 26 Jan 2003 12:00:19 -0800 (PST) Subject: scripting question, killing a process safely From: "Joe Sotham" To: freebsd-questions@freebsd.org User-Agent: SquirrelMail/1.4.0 RC2a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 X-Priority: 3 Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I am recording audio tapes to wav files using gramofile. I'd like to be able to walk away and automatically shut down the process without corrupting the wav file. I know the tape duration so I was planning to use the following script. I'd appreciate a better or more refined approach: (sleep 2700; killall gramofile) -- Joe Sotham ------------ If the only prayer you say in your entire life is "Thank You", that will suffice. - Meister Eckhart To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message