Skip to content

Commit

Permalink
Last run date for reindex, cleaner, ... (#5478)
Browse files Browse the repository at this point in the history
* add last_run date for reindex, rrdcleaner, ...

* change to timestamp
  • Loading branch information
xmacan authored and TheWitness committed Sep 23, 2023
1 parent ac240e0 commit e9a2f83
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions poller_maintenance.php
Original file line number Diff line number Diff line change
Expand Up @@ -304,8 +304,8 @@ function rrdfile_purge($force) {
set_config_option('rrdcleaner_last_run_time', time());

$poller_end = microtime(true);
$string = sprintf('RRDMAINT STATS: Time:%4.4f Purged:%s Archived:%s', ($poller_end - $poller_start), $purged, $archived);

set_config_option('rrdcleaner_last_run_time', time());
$string = sprintf('RRDMAINT STATS: Time:%4.4f Purged:%s Archived:%s', ($poller_end - $poller_start), $purged, $archived);
cacti_log($string, true, 'SYSTEM');
}
}
Expand Down

0 comments on commit e9a2f83

Please sign in to comment.