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
This commit is contained in:
mattf
2023-10-20 02:05:22 +00:00
parent 4d7cc815d9
commit 88b7d6d5ba
3 changed files with 8 additions and 5 deletions
+2 -1
View File
@@ -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
+3 -2
View File
@@ -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 <vicidial@gmail.com> LICENSE: AGPLv2
# Copyright (C) 2023 Matt Florell <vicidial@gmail.com> 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
+3 -2
View File
@@ -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 <vicidial@gmail.com> LICENSE: AGPLv2
# Copyright (C) 2023 Matt Florell <vicidial@gmail.com> 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