From owner-freebsd-questions@FreeBSD.ORG Mon Aug 30 11:00:26 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 9B62310657E2 for ; Mon, 30 Aug 2010 11:00:26 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 089788FC0C for ; Mon, 30 Aug 2010 11:00:12 +0000 (UTC) Received: by wwb34 with SMTP id 34so5064174wwb.31 for ; Mon, 30 Aug 2010 04:00:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type:content-transfer-encoding; bh=/NSvdVZ0pBcqZl+fy5D0hNB+RdeGx8yoY5opaYE7dkE=; b=B81YXQea4fs9RHwBht/MEsbfJgZlHtqvxFwnuzfIpSDpPX2D8zXp4GGrgVyx8hBHUc SujPx3yXhOUIFiqLtYKuBN5bqEwl5Xs746VOkX0/aqrUlSPr+e+FEPuApgns/AgR7PYJ KdokUCCYSoad62ywpJcu6rpfWz8nj2Qm/xT6U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=CyF8UNv7W88AGBQnC1Xgj6kzrS5QUyHdOvXAYuCti8JN9zALLi+FVjoC91sBM+A2pu rhg/7vznCVNoPNXVa5tcTONQxANVKtYd+48b+O3ZmLGoIJOnBiXja5x8xGYkGTP5H17W gSXbiQ+jRqEMhjH3t6RMbRh6PbAjrxkIf8b9s= Received: by 10.227.145.148 with SMTP id d20mr4328599wbv.117.1283166011813; Mon, 30 Aug 2010 04:00:11 -0700 (PDT) Received: from gumby.homeunix.com (bb-87-81-140-128.ukonline.co.uk [87.81.140.128]) by mx.google.com with ESMTPS id b23sm6380196wbb.10.2010.08.30.04.00.09 (version=SSLv3 cipher=RC4-MD5); Mon, 30 Aug 2010 04:00:10 -0700 (PDT) Date: Mon, 30 Aug 2010 12:00:07 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20100830120007.543fa5dd@gumby.homeunix.com> In-Reply-To: References: X-Mailer: Claws Mail 3.7.6 (GTK+ 2.20.1; i386-portbld-freebsd8.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: killall -9 program-name does not work X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Aug 2010 11:00:26 -0000 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.