From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.44.254]) by listman.redhat.com (Postfix) with ESMTP id 608933EB80 for ; Fri, 28 Dec 2001 09:16:37 -0500 (EST) Received: from mail.redhat.com (mail.redhat.com [199.183.24.239]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with SMTP id fBSEGbE24409 for ; Fri, 28 Dec 2001 09:16:37 -0500 Received: (from mail@localhost) by mail.redhat.com (8.11.6/8.8.7) id fBSEGbH26517 for blinux-list@listman.redhat.com; Fri, 28 Dec 2001 09:16:37 -0500 Received: from cougar.aero-vision.com (cougar.aero-vision.com [207.10.28.10]) by mail.redhat.com (8.11.6/8.8.7) with ESMTP id fBSEGa026513 for ; Fri, 28 Dec 2001 09:16:36 -0500 Received: (from salt@localhost) by cougar.aero-vision.com (8.11.0/8.11.0) id fBSEGas03805 for blinux-list@redhat.com; Fri, 28 Dec 2001 09:16:36 -0500 Date: Fri, 28 Dec 2001 09:16:36 -0500 From: "A. R. Vener" To: blinux-list@redhat.com Subject: Re: regulating the time a process can run with crontab? Message-ID: <20011228091636.A3554@cougar.aero-vision.com> References: <3.0.6.32.20011227225916.0082e9d0@mail.doorpi.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3.0.6.32.20011227225916.0082e9d0@mail.doorpi.net>; from bharding@doorpi.net on Thu, Dec 27, 2001 at 10:59:16PM -0600 X-Loop: blinux-list@redhat.com Sender: blinux-list-admin@redhat.com Errors-To: blinux-list-admin@redhat.com X-BeenThere: blinux-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: blinux-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux for blind general discussion List-Unsubscribe: , List-Archive: You use a separate script which sends a kill signal to lynx. This would call a script that either looks up the pid of your lynx process or identifies it from your original script. For example the first line in your script could be: echo $$ > $HOME/.recordingpid the second script would execute: kill -9 `cat $HOME/.recordingpid` Rudy On Thu, Dec 27, 2001 at 10:59:16PM -0600, Brent Harding wrote: > Suppose I want to use the lynx --source option to record an mp3 stream > that will start at a certain time, and I want to stop it at a certain time. > I could start it with a cron entry, in a script, but how in such a script > would I cause lynx to terminate, assuming the mp3 stream never quits? > There's no way of telling lynx --source how much to get if this is in the > background. > Thanks. > > > > > _______________________________________________ > Blinux-list mailing list > Blinux-list@redhat.com > https://listman.redhat.com/mailman/listinfo/blinux-list