Re: Running ecasound in cron
Дмитрий <[email protected]> Sun, 08 Oct 2017 06:27:02 +0000
| Newsgroups | gmane.comp.audio.ecasound.general |
|---|---|
| Message-ID | <CAFLA9pr2Tr98kKz0bGySeeMGNOApZcHXM6QiAAhooqA-TB+Pug@mail.gmail.com> |
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 < [email protected]>: > 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 > [email protected] > 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 [email protected] https://lists.sourceforge.net/lists/listinfo/ecasound-list