Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Sep 2010 15:01:13 +0100
From:      Frank Shute <frank@shute.org.uk>
To:        Antonio Olivares <olivares14031@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: killall -9 program-name does not work
Message-ID:  <20100902140113.GA69315@orange.esperance-linux.co.uk>
In-Reply-To: <AANLkTi=%2Bc4LMBuchjQfZ6_TsFi2fU9C3zSogGYHNQymc@mail.gmail.com>
References:  <AANLkTin5JbPjrbMYEdoWK7xuUJy69foXKEGNp0jmx1aD@mail.gmail.com> <20100830120007.543fa5dd@gumby.homeunix.com> <AANLkTi=%2Bc4LMBuchjQfZ6_TsFi2fU9C3zSogGYHNQymc@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Sep 01, 2010 at 08:32:56PM -0500, Antonio Olivares wrote:
>
> On 8/30/10, RW <rwmaillists@googlemail.com> wrote:
> > On Mon, 30 Aug 2010 03:14:58 +0000
> > Antonio Olivares <olivares14031@gmail.com> 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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100902140113.GA69315>