I would like to run the following command through crontab:
30 12 * * * natasha /usr/bin/canberra-gtk-play --file="/home/natasha/Audio/Dat_Jene_Tabletki.wav" --volume=15 --loop=3
but this command isn't executed. Run of the corresponding command directly from command line works.
The lines
4 12 * * * natasha /usr/bin/cvlc /home/natasha/Audio/Dat_Jene_Tabletki.wav
55 16 * * * natasha /usr/local/bin/mpg123 -q /home/natasha/Downloads/file.mp3
are executed correctly with crontab, but canberra-gtk-play doesn't work.
Could somebody help me with this, please?
My system is openSUSE 42.1.
Thank you in advance.
Regards, Natalia