I have script to mute sound:
pactl set-sink-mute 0 true
Tt's working if I run directly in terminal but if I make file.sh
or run in crontab
:
* * * * * pactl set-sink-mute 0 true
I get error.
Is there any way if I open the terminal & the script auto write & auto enter in terminal by file.sh
or crontab
?
Regards, Adrian