Re: [SLUG] wanted: hacker for small SFD script

From: Eben King (eben01@verizon.net)
Date: Wed Sep 13 2006 - 11:28:01 EDT


On Wed, 13 Sep 2006, Sick Twist wrote:

>> From: Eben King <eben01@verizon.net>
>> Reply-To: slug@nks.net
>> To: slug@nks.net
>> Subject: Re: [SLUG] wanted: hacker for small SFD script
>> Date: Wed, 13 Sep 2006 08:31:34 -0400 (EDT)
>> The playing part is easy. In crontab:
>>
>> #mn hr dm mo dw
>> 0,30 * 16 9 * mplayer -fs $MOVIE
>
> Won't that run multiple instances of mplayer? Is there a way to tell mplayer
> to use only one instance or would we have to add killall mplayer?

It would, but you said the movie is only ~25 minutes long. I'm implicitely
assuming the former one exits before the current one starts. Of course, if
someone pauses it, that assumption breaks.

I also didn't come up with a way to kill xdaliclock before the next round
starts. Maybe prepend that cron command with "killall mplayer ; killall
xdaliclock ;" just to be sure. Heck, you can even get highfalutin' and put
it into a script and call that script from cron.

-- 
-eben   QebWenE01R@vTerYizUonI.nOetP   http://royalty.no-ip.org:81
LEO:  Now is not a good time to photocopy your butt and staple it
to your boss' face, oh no.  Eat a bucket of tuna-flavored pudding
and wash it down with a gallon of strawberry Quik.  -- Weird Al
-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS).  Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 17:08:09 EDT