It does not matter which instruction related to sound I use. It seems that instruction is working, but I hear no sound. Crontab run on the same user and on root. No sound effect (process works in the back).
- espeak -ven "Hello" - typed in a terminal works, typed in a cron does not. In htop I see that espeak is working every minute.
- amixer -D pulse sset Master 10% - in a terminal works, typed in a cron does not.
- mpsyt .blablabla, 1 - in a terminal works, typed in a cron does not.
- Google Assistant started normally works. Started from cron does not (do not even hear me - so mic problem is also an issue).
Logs are empty except mpsyt log saying: "]2;mpsyt" whatever it means :).
Cronjobs not related to sound work perfectly. I made a script that writes to file and play a sound. File is fine. No sound at all.
I was always sure that running scripts from cron are equal to scripts run from terminal. So what causes the difference?
K.