Changeset 41022
- Timestamp:
- Nov 3, 2019, 3:59:14 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ccl_branches/ipp-20190806/ippMonitor/czartool/czarpoll.pl
r41002 r41022 276 276 while (1) { 277 277 my $iterationStartTime = time(); 278 print $iterationStartTime;279 print "\n";280 278 281 279 #get the time of last czarpoll update 282 280 $polldate = $czarDb->getPollDate(); 283 print $polldate;284 print "\n";285 281 $polldate=~/^(\d{4})\-(\d{2})\-(\d{2}) (\d{2}):(\d{2}):(\d{2})$/; 286 282 my $date=DateTime->new(year=>$1,month=>$2,day=>$3,hour=>$4,minute=>$5,second=>$6,time_zone=>"HST"); … … 330 326 #TdB20190703: The ipp113 and ipp117 instances of czarpoll use the same stage DBs in czarDB. 331 327 #Therefore, it makes no sense to run the cleanup+optimising twice 332 #print "* Performing database cleanup\n";333 #$czarDb->cleanupDateRange($yesterday, $yesterday, $config->getCzarCleanupInterval());328 print "* Performing database cleanup\n"; 329 $czarDb->cleanupDateRange($yesterday, $yesterday, $config->getCzarCleanupInterval()); 334 330 #print "* Optimizing the database\n"; 335 331 #$czarDb->optimize();
Note:
See TracChangeset
for help on using the changeset viewer.
