From 9224d3b370f509e27635b29ea3ebfc3b41cc81b9 Mon Sep 17 00:00:00 2001 From: mattf Date: Fri, 20 Oct 2023 02:05:22 +0000 Subject: [PATCH] Changed sleep time between directory scans from 5 to 15 seconds in AST_CRON_audio_1... scripts git-svn-id: svn://192.168.202.10@3766 3d104415-ff17-0410-8863-d5cf3c621b8a --- agc_2-X/trunk/bin/AST_CRON_audio_1_gateway_stereo.pl | 3 ++- agc_2-X/trunk/bin/AST_CRON_audio_1_move_VDonly.pl | 5 +++-- agc_2-X/trunk/bin/AST_CRON_audio_1_move_mix.pl | 5 +++-- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/agc_2-X/trunk/bin/AST_CRON_audio_1_gateway_stereo.pl b/agc_2-X/trunk/bin/AST_CRON_audio_1_gateway_stereo.pl index 06ab1bf4..65ca94d9 100644 --- a/agc_2-X/trunk/bin/AST_CRON_audio_1_gateway_stereo.pl +++ b/agc_2-X/trunk/bin/AST_CRON_audio_1_gateway_stereo.pl @@ -26,6 +26,7 @@ # # # 230131-2244 - First Build, based on AST_CRON_audio_1_move_mix.pl script +# 231019-2204 - Changed sleep time between directory scans from 5 to 15 seconds # $MIX=0; @@ -230,7 +231,7 @@ foreach(@FILES) if ($DB) {print "Total recording files found: $i (calls: $calls)\n";} -sleep(5); +sleep(15); ### Loop through files a second time to gather filesizes again 5 seconds later diff --git a/agc_2-X/trunk/bin/AST_CRON_audio_1_move_VDonly.pl b/agc_2-X/trunk/bin/AST_CRON_audio_1_move_VDonly.pl index de670fe8..4bf3b288 100644 --- a/agc_2-X/trunk/bin/AST_CRON_audio_1_move_VDonly.pl +++ b/agc_2-X/trunk/bin/AST_CRON_audio_1_move_VDonly.pl @@ -25,7 +25,7 @@ # This program assumes that recordings are saved by Asterisk as .wav # should be easy to change this code if you use .gsm instead # -# Copyright (C) 2019 Matt Florell LICENSE: AGPLv2 +# Copyright (C) 2023 Matt Florell LICENSE: AGPLv2 # # # 80302-1958 - First Build @@ -34,6 +34,7 @@ # 160523-0654 - Added --HTTPS option to use https instead of http in local location # 160731-2103 - Added --POST options to change filename with variable lookups # 190311-0105 - Added code to check for agent-muted recordings +# 231019-2202 - Changed sleep time between directory scans from 5 to 15 seconds # $HTTPS=0; @@ -258,7 +259,7 @@ foreach(@FILES) $i++; } -sleep(5); +sleep(15); ### Loop through files a second time to gather filesizes again 5 seconds later diff --git a/agc_2-X/trunk/bin/AST_CRON_audio_1_move_mix.pl b/agc_2-X/trunk/bin/AST_CRON_audio_1_move_mix.pl index 40c46ed0..409355f5 100644 --- a/agc_2-X/trunk/bin/AST_CRON_audio_1_move_mix.pl +++ b/agc_2-X/trunk/bin/AST_CRON_audio_1_move_mix.pl @@ -24,7 +24,7 @@ # This program assumes that recordings are saved by Asterisk as .wav # should be easy to change this code if you use .gsm instead # -# Copyright (C) 2016 Matt Florell LICENSE: AGPLv2 +# Copyright (C) 2023 Matt Florell LICENSE: AGPLv2 # # # 80302-1958 - First Build @@ -33,6 +33,7 @@ # 130805-1450 - Added check for length and gather length of recording for database record # 160501-1001 - Added --SPHINX options to check for SPHINX audio files # 160523-0650 - Added --HTTPS option to use https instead of http in local location +# 231019-2203 - Changed sleep time between directory scans from 5 to 15 seconds # $MIX=0; @@ -231,7 +232,7 @@ foreach(@FILES) $i++; } -sleep(5); +sleep(15); ### Loop through files a second time to gather filesizes again 5 seconds later