From owner-freebsd-questions@FreeBSD.ORG Thu Sep 2 14:01:20 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9147E10657B8 for ; Thu, 2 Sep 2010 14:01:20 +0000 (UTC) (envelope-from frank@esperance-linux.co.uk) Received: from asmtp2.iomartmail.com (asmtp2.iomartmail.com [62.128.201.249]) by mx1.freebsd.org (Postfix) with ESMTP id 259DA8FC16 for ; Thu, 2 Sep 2010 14:01:19 +0000 (UTC) Received: from asmtp2.iomartmail.com (localhost.localdomain [127.0.0.1]) by asmtp2.iomartmail.com (8.13.8/8.13.8) with ESMTP id o82E1IAZ023613; Thu, 2 Sep 2010 15:01:18 +0100 Received: from orange.esperance-linux.co.uk (80-45-152-196.static.dsl.as9105.com [80.45.152.196]) (authenticated bits=0) by asmtp2.iomartmail.com (8.13.8/8.13.8) with ESMTP id o82E1Dsd023568; Thu, 2 Sep 2010 15:01:17 +0100 Received: by orange.esperance-linux.co.uk (Postfix, from userid 1001) id A387833C3D; Thu, 2 Sep 2010 15:01:13 +0100 (BST) Date: Thu, 2 Sep 2010 15:01:13 +0100 From: Frank Shute To: Antonio Olivares Message-ID: <20100902140113.GA69315@orange.esperance-linux.co.uk> References: <20100830120007.543fa5dd@gumby.homeunix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Face: *}~{PHnDTzvXPe'wl_-f%!@+r5; VLhb':*DsX%wEOPg\fDrXWQJf|2\,92"DdS%63t*BHDyQ|OWo@Gfjcd72eaN!4%NE{0]p)ihQ1MyFNtWL X-Operating-System: FreeBSD 8.1-RELEASE amd64 X-Organisation: 'shute.org.uk' Cc: freebsd-questions@freebsd.org Subject: Re: killall -9 program-name does not work X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Frank Shute List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Sep 2010 14:01:20 -0000 On Wed, Sep 01, 2010 at 08:32:56PM -0500, Antonio Olivares wrote: > > On 8/30/10, RW wrote: > > On Mon, 30 Aug 2010 03:14:58 +0000 > > Antonio Olivares wrote: > > > >> Dear fellow FreeBSD users, > >> > >> I have a cron script that plays music in the morning when I arrive at > >> work. > >> > >> in ~/.xalarm I have two lines, one that calls xterm and one that calls > >> mplayer and plays a series of music files in a playlist > >> > >> crontab -l > >> has the following > >> # min hour day-of-month month day-of-week command > >> # 0-59 0-23 1-31 1-12 0-6 0=sun 1=mon > >> 00 07 * * 1-5 ~/.xalarm >/dev/null 2>&1 > >> 30 07 * * 1-5 killall -9 /usr/local/bin/mplayer >/dev/null 2>&1 > > > > You don't need the path to mplayer. > > It makes no difference. This does not stop mplayer from playing :( > > Thanks though for trying to help. > > Regards, > > Antonio Use the command: killall -d mplayer & see what it's saying. ie. don't direct stout & sterr to /dev/null Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html