Oracle verbinding na gebruik een close() doen. Better safe than sorry
svn path=/Website/branches/v2022.3/; revision=57433
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -290,6 +290,7 @@
|
||||
|
||||
return result;
|
||||
}
|
||||
Oracle.Close();
|
||||
|
||||
function scheduledDone(params)
|
||||
{
|
||||
|
||||
@@ -198,5 +198,7 @@
|
||||
fhandle.Close();
|
||||
}
|
||||
oRs.Close();
|
||||
|
||||
Oracle.Close();
|
||||
</script>
|
||||
</job>
|
||||
|
||||
Reference in New Issue
Block a user