added missing timestamp to pandora_db process on historical database

This commit is contained in:
fbsanchez 2022-03-24 19:23:35 +01:00
parent 64947b75cd
commit 1e7a73829a
1 changed files with 4 additions and 0 deletions

View File

@ -1079,6 +1079,10 @@ sub pandoradb_history ($$) {
log_message ('', "\n");
}
# Update tconfig with last time of database maintance time (now)
db_do ($dbh, "DELETE FROM tconfig WHERE token = 'db_maintance'");
db_do ($dbh, "INSERT INTO tconfig (token, value) VALUES ('db_maintance', '".time()."')");
log_message ('', "Ending at ". strftime ("%Y-%m-%d %H:%M:%S", localtime()) . "\n");
}