Re: [ecasound] Running ecasound in cron

From: Дмитрий <quarckster@email-addr-hidden>
Date: Sun Oct 08 2017 - 09:27:02 EEST

Thank you Rocco, your advice helped. I set TERM variable to xterm and it
started to work from cron, so final commad looks:
TERM=xterm /usr/bin/ecasound -B:rtlowlatency -b:256 -f:s32_le,2,48000
-i:alsahw,1,0 -o:alsa &

вс, 8 окт. 2017 г. в 0:46, rocco via Ecasound-list <
ecasound-list@email-addr-hidden>:

> On 10/07/2017 03:32 AM, Дмитрий wrote:
> > Hello,
> > I've been trying to run ecasound in cron with such arguments:
> > /usr/bin/ecasound -B:rtlowlatency -b:256 -f:s32_le,2,48000 -i:alsahw,1,0
> > -o:alsa
> > But nothing happens. If I run it from the shell it works as expected.
> > What I need to do in order to run ecasound in cron?
> > --
> >
> > Best regards, Dmitry Misharov
>
> I think this has to do with what I ran into recently. I was trying to
> run ecasound from a tcl/tk script by clicking an icon on my desktop and
> it wouldn't work (I think ecasound would exit immediately). But when I
> ran the tcl/tk script from a shell, it ran fine.
>
> I had to set the TERM variable. I did a lot of googling to find out how
> to set it correctly, but didn't get any specific details so I just set
> TERM to 'linux' (without the quotes) and hope that will suffice when
> running my program from system to system. It works fine on my system.
>
> If this works, and you find more info on how to properly set TERM, let
> me know
>
> Hope this helped,
> Rocco
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Ecasound-list mailing list
> Ecasound-list@email-addr-hidden
> https://lists.sourceforge.net/lists/listinfo/ecasound-list
>

-- 
Best regards, Dmitry Misharov

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
Ecasound-list mailing list
Ecasound-list@email-addr-hidden
https://lists.sourceforge.net/lists/listinfo/ecasound-list
Received on Sun Jun 16 21:14:35 2019

This archive was generated by hypermail 2.1.8 : Sun Jun 16 2019 - 21:14:35 EEST