two sound files at the same time - problem with crontab
Info:
My system: Linux Lubuntu 20.04.2 LTS, 64 bit
Hi altogether,
I have Big-Ben chimes played out every quarter of an hour and put the respective entries in my crontab.
Example:
15 * * * * if [ ! -f /tmp/Ruhe ]; then mplayer /media/
That works very well. But I run into problems if I have some other noise (sound-file) played out at the same time.
Background:
I can´t stand complete silence and thus need some sort of background noise on a permanent basis.
As a rule I run this command:
firejail mpv --loop=inf /media/
from within a terminal.
which plays some coffee-shop background noise in a permanent loop.
This works well too.
However: when running the mpv-command for background noise I don´t get the chimes any more...
... which is weird as they are played back when issuing the respective command from within a terminal.
So, the command
firejail mplayer /media/
works even if "coffee-shop" is running at the same time.
But it doesn´t work whenever it´s started by crontab!
BTW: the fact that I run the command within the sandbox "firejail" is of no consequence whatsoever.
The result is the same when issuing the command outside the sandbox.
Does anybody have a clue why that "problem" exists?
Many thanks in advance.
Greetings
Rosika
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu cron Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Rosika Schreck
- Solved:
- Last query:
- Last reply: