cleanup old ncm data keeping 1 data per type and agent
This commit is contained in:
parent
0d08e27865
commit
1ab02c4c0c
|
@ -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");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue