Merge branch 'ent-8702-no-se-actualiza-token-db_maintenance-en-la-db-de-historico-al-pasar-el-pandora_db' into 'develop'
added missing timestamp to pandora_db process on historical database See merge request artica/pandorafms!4780
This commit is contained in:
commit
d2779800e8
|
@ -1082,6 +1082,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");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue