We have a RaspberryPi device that we are trying to deploy an audio player in a museum setting.  We would like to program the Pi device to play an auto file between the hours of X and Y on repeat.  This part is simple we can just set a cron job to launch the following command:mpg123 --loop 2 test.mp3But this won't work well if we lose power or the device isn't turned on by the time the job needs to kick-off.Does anyone have suggestions on how to potentially check and see if the audio is playing and if not kick-off the task again?  Ideally with minimal delay between looping audio.
Playing an audio file on repeat between x hour and y hour?
audio