Changeset 31825
- Timestamp:
- Jul 5, 2011, 10:54:07 AM (15 years ago)
- File:
-
- 1 edited
-
trunk/tools/czarpoll.pl (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/czarpoll.pl
r30952 r31825 161 161 if ($lastDayDailyTasks ne $yesterday) { 162 162 163 print "* performing daily tasks (clean-up, metrics) ";163 print "* performing daily tasks (clean-up, metrics)\n"; 164 164 165 165 # create metrics for last 24 hours … … 173 173 174 174 # now cleanup tables from yesterday and optimize 175 print "* New day - performingcleanup\n";175 print "* Performing database cleanup\n"; 176 176 $czarDb->cleanupDateRange($yesterday, $yesterday, $config->getCzarCleanupInterval()); 177 print "* Optimizing the database\n"; 177 178 $czarDb->optimize(); 178 179 $lastDayDailyTasks = $yesterday; … … 226 227 227 228 print "--------------------------------------------------------------------------\n"; 228 print "* Going to sleep\n";229 sleep($period);230 print "* Waking up\n";229 #print "* Going to sleep\n"; 230 #sleep($period); 231 #print "* Waking up\n"; 231 232 }; 232 233 }
Note:
See TracChangeset
for help on using the changeset viewer.
