cleanup old ncm data keeping 1 data per type and agent

This commit is contained in:
fbsanchez 2021-12-07 16:19:50 +01:00
parent 0d08e27865
commit 1ab02c4c0c
1 changed files with 3 additions and 0 deletions

View File

@ -1082,6 +1082,9 @@ sub pandoradb_main ($$$;$) {
# Metaconsole database cleanup. # Metaconsole database cleanup.
enterprise_hook("metaconsole_database_cleanup", [$dbh, $conf]); enterprise_hook("metaconsole_database_cleanup", [$dbh, $conf]);
# NCM cleanup.
enterprise_hook("ncm_database_cleanup", [$dbh, $conf]);
log_message ('', "Ending at ". strftime ("%Y-%m-%d %H:%M:%S", localtime()) . "\n"); log_message ('', "Ending at ". strftime ("%Y-%m-%d %H:%M:%S", localtime()) . "\n");
} }