Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.misc > #1181
| From | Robert Riches <spamtrap42@jacob21819.net> |
|---|---|
| Newsgroups | comp.os.linux.misc |
| Subject | Re: Need help running mplayer in the background |
| Date | 2011-05-20 03:43 +0000 |
| Organization | none-at-all |
| Message-ID | <slrnitboru.d13.spamtrap42@one.localnet> (permalink) |
| References | (2 earlier) <slrnit6fvu.pdh.spamtrap42@one.localnet> <93i0g6Fn0oU1@mid.individual.net> <93ia6qFn0oU2@mid.individual.net> <slrnita8u2.5u2.bill@lat.localnet> <93l326F2nvU1@mid.individual.net> |
On 2011-05-19, General Schvantzkoph <schvantzkoph@yahoo.com> wrote:
> On Thu, 19 May 2011 10:05:54 -0400, Bill Marcum wrote:
>
>> On 2011-05-18, General Schvantzkoph <schvantzkoph@yahoo.com> wrote:
>>>
>>> I've added a line to my script that reschedules itself at now + 1 week
>>> which takes care or the repeat. However if there is a standard way of
>>> specifying a repeated task I'd like to know it.
>>
>> With at the only way to repeat a task is by rescheduling it. But it's
>> curious that your command doesn't work with cron. Does the command line
>> contain a % sign, or does it depend on environment variables?
> This is the script I'm calling, the only env variable that I'm calling is
> set in the script
>
> #!/bin/csh -f
> set DAY=`date +%B_%d_%Y_%H_%M`
> setsid mplayer -prefer-ipv4 -nolirc -dumpstream
> http://2783.live.streamtheworld.com:443/WLSAM_SC -ac mp3lacm -dumpfile /
> home/foobar/s_drive/mp3/stream/bob_${DAY}.mp3
As an experiment, you could make a wrapper script that just calls
this one but puts stdout and stderr from this script into a log
file. You might also want to direct stdin from /dev/null. That
may reveal some error message that's happening when this script
is run from cron.
(It's good to see somebody else uses a shell with decent syntax.)
--
Robert Riches
spamtrap42@jacob21819.net
(Yes, that is one of my email addresses.)
Back to comp.os.linux.misc | Previous | Next — Previous in thread | Next in thread | Find similar
Need help running mplayer in the background General Schvantzkoph <schvantzkoph@yahoo.com> - 2011-05-18 03:01 +0000
Re: Need help running mplayer in the background Kevin Snodgrass <kdsnodgrass@yahoo.com> - 2011-05-18 03:14 +0000
Re: Need help running mplayer in the background Robert Riches <spamtrap42@jacob21819.net> - 2011-05-18 03:41 +0000
Re: Need help running mplayer in the background General Schvantzkoph <schvantzkoph@yahoo.com> - 2011-05-18 13:39 +0000
Re: Need help running mplayer in the background General Schvantzkoph <schvantzkoph@yahoo.com> - 2011-05-18 16:24 +0000
Re: Need help running mplayer in the background Bill Marcum <bill@lat.localnet> - 2011-05-19 10:05 -0400
Re: Need help running mplayer in the background General Schvantzkoph <schvantzkoph@yahoo.com> - 2011-05-19 17:41 +0000
Re: Need help running mplayer in the background Robert Riches <spamtrap42@jacob21819.net> - 2011-05-20 03:43 +0000
Re: Need help running mplayer in the background Huibert Bol <huibert.bol@quicknet.nl> - 2011-05-18 18:49 +0200
Re: Need help running mplayer in the background General Schvantzkoph <schvantzkoph@yahoo.com> - 2011-05-18 18:15 +0000
Re: Need help running mplayer in the background Eli the Bearded <*@eli.users.panix.com> - 2011-05-18 05:56 +0000
Re: Need help running mplayer in the background Chris Davies <chris-usenet@roaima.co.uk> - 2011-05-19 22:54 +0100
Re: Need help running mplayer in the background Chris Davies <chris-usenet@roaima.co.uk> - 2011-05-19 23:11 +0100
Re: Need help running mplayer in the background General Schvantzkoph <schvantzkoph@yahoo.com> - 2011-05-20 01:44 +0000
Re: Need help running mplayer in the background Aragorn <aragorn@chatfactory.invalid> - 2011-05-20 07:30 +0200
Re: Need help running mplayer in the background General Schvantzkoph <schvantzkoph@yahoo.com> - 2011-05-20 11:46 +0000
Re: Need help running mplayer in the background Chris Davies <chris-usenet@roaima.co.uk> - 2011-05-20 09:19 +0100
Re: Need help running mplayer in the background General Schvantzkoph <schvantzkoph@yahoo.com> - 2011-05-20 11:56 +0000
Re: Need help running mplayer in the background Chris Davies <chris-usenet@roaima.co.uk> - 2011-05-20 15:36 +0100
Re: Need help running mplayer in the background General Schvantzkoph <schvantzkoph@yahoo.com> - 2011-05-20 18:28 +0000
Re: Need help running mplayer in the background General Schvantzkoph <schvantzkoph@yahoo.com> - 2011-05-20 12:09 +0000
csiph-web