I have a shell script running in crontab to perform certain checks. In case of any problem I want to alert user. For that purpose I am using zenity and play command
zenity --error --text='Something has happened!' --display=:0.0 // for pop up
play /somepath/somefile.wav // for sound
These two are working fine independently. But I want to play
the alarm until zenity
error is acknowledged. After searching in internet I found zenity does not have audio alarm inbuilt support. I want to know how to achieve my goal. Any other solution is also ok if it is not a third party solution.