Oracle verbinding na gebruik een close() doen. Better safe than sorry

svn path=/Website/branches/v2022.3/; revision=57433
This commit is contained in:
Jos Groot Lipman
2022-09-29 07:24:07 +00:00
parent ffe9c58650
commit 23e5368629
4 changed files with 7 additions and 1 deletions

View File

@@ -28,6 +28,9 @@
var import_app_key = WScript.Arguments(1); // Gebruik EXCHFULL voor alles in bepaalde periode
var res = csv_for_room(zaalemail, import_app_key);
Oracle.Close();
if (res)
WScript.Quit(10); // alles goed
else

View File

@@ -89,7 +89,7 @@
var duration = Math.round((endDate - applicatieRun) / 10) / 100;
Log2File(0, "PUTORDERS FINISHED ({0}, duration {1}s)".format(toDateTimeString(endDate), duration));
Oracle.Close();
// FUNCTIES
function clearDBLog()

View File

@@ -290,6 +290,7 @@
return result;
}
Oracle.Close();
function scheduledDone(params)
{

View File

@@ -198,5 +198,7 @@
fhandle.Close();
}
oRs.Close();
Oracle.Close();
</script>
</job>