Added vicidial_list stuck QUEUE reset at TEoD
git-svn-id: svn://192.168.202.10@3052 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
@@ -133,9 +133,10 @@
|
||||
# 180908-1428 - Added daily rolling of vicidial_ccc_log records
|
||||
# 180916-1003 - Added vicidial_lists.resets_today resetting at TEOD, timed reset resets_today verification before reset
|
||||
# 180930-1007 - Added more allowed codecs to conf file generation
|
||||
# 181028-1451 - Added vicidial_list stuck QUEUE reset at TEoD
|
||||
#
|
||||
|
||||
$build = '180930-1007';
|
||||
$build = '181028-1451';
|
||||
|
||||
$DB=0; # Debug flag
|
||||
$teodDB=0; # flag to log Timeclock End of Day processes to log file
|
||||
@@ -1185,6 +1186,12 @@ if ($timeclock_end_of_day_NOW > 0)
|
||||
if ($DB) {print "|",$aryA[0],"|",$aryA[1],"|",$aryA[2],"|",$aryA[3],"|","\n";}
|
||||
$sthA->finish();
|
||||
|
||||
$stmtA = "UPDATE vicidial_list SET user='' where user LIKE \"QUEUE%\";";
|
||||
if($DBX){print STDERR "\n|$stmtA|\n";}
|
||||
$affected_rows = $dbhA->do($stmtA);
|
||||
if($DB){print STDERR "\n|$affected_rows vicidial_list stuck QUEUE reset|\n";}
|
||||
if ($teodDB) {$event_string = "vicidial_list stuck QUEUE reset: $affected_rows"; &teod_logger;}
|
||||
|
||||
$stmtA = "update vicidial_campaign_agents SET calls_today=0,hopper_calls_today=0,hopper_calls_hour=0;";
|
||||
if($DBX){print STDERR "\n|$stmtA|\n";}
|
||||
$affected_rows = $dbhA->do($stmtA);
|
||||
|
||||
Reference in New Issue
Block a user