throw e;
} catch (Exception ex) {
throw new OCommandScriptException("Unknown Exception", this.function.getName(), 0, ex);
} finally {
if (scriptManager != null && binding != null)
scriptManager.unbind(binding);
OLogManager.instance().warn(this, "Job : " + this.toString() + " Finished!");
isRunning = false;
this.document.field(PROP_STATUS, SCHEDULER_STATUS.WAITING);
this.document.save();
}