Save jobs on save all func

This commit is contained in:
Vortrex
2022-01-21 20:33:48 -06:00
parent 51695e280a
commit 5691e9e1db

View File

@@ -74,6 +74,12 @@ function saveAllServerDataToDatabase() {
logToConsole(LOG_ERROR, `Could not save items to database: ${error}`);
}
try {
saveAllJobsToDatabase();
} catch(error) {
logToConsole(LOG_ERROR, `Could not save jobs to database: ${error}`);
}
try {
saveServerConfigToDatabase();
} catch(error) {