K krooney Member Jun 18, 2018 178 16 18 Yesterday at 12:26 PM #1 Is there a way to create a cron job to play audio every 2 hours over the paging
K krooney Member Jun 18, 2018 178 16 18 Yesterday at 3:46 PM #2 38 10 * * * fs_cli -x "originate {sip_auto_answer=true}user/300@yourdomain &playback(/var/lib/freeswitch/recordings/yourdomain/Break_Buzzer.wav)"
38 10 * * * fs_cli -x "originate {sip_auto_answer=true}user/300@yourdomain &playback(/var/lib/freeswitch/recordings/yourdomain/Break_Buzzer.wav)"
P pksml New Member Dec 20, 2022 11 2 3 45 Yesterday at 4:51 PM #3 Every two hours, as in 2:00, 4:00, etc.? Then start your cron job with 0 */2 * * * Otherwise, just duplicate the cron entry and manually set the hours and minutes you want it to execute. Edit: If you want every odd hour, use this: 0 1-23/2 * * *
Every two hours, as in 2:00, 4:00, etc.? Then start your cron job with 0 */2 * * * Otherwise, just duplicate the cron entry and manually set the hours and minutes you want it to execute. Edit: If you want every odd hour, use this: 0 1-23/2 * * *