Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

For API jobs running on the Agent, most JobScheduler API functions are executed on the JobScheduler Master JobScheduler.

However, some functions need proxy implementations or special treatment to run directly on the Agent:

...

functiontreatmentremarks
sos.spooler.Spooler.include_path(question) FunctionNotSupportedOnAgentException"Returns the command line setting -include-path=." There no -include-path on the agent.
sos.spooler.Spooler.log_dir(question) FunctionNotSupportedOnAgentExceptionTask and Order logs are logged on the Master JobScheduler.
sos.spooler.Spooler.directoryProxyreturns working dir of the agent
sos.spooler.Spooler.ini_path(question) FunctionNotSupportedOnAgentException

"The value of the -ini= option (the name of the factory.ini file)" There is no -ini option on the agent

sos.spooler.Spooler.create_xslt_stylesheet()(question) FunctionNotSupportedOnAgentExceptionIs this function required deprecated, not used on the agent?
sos.spooler.Log.log() and other logging functionsProxyProxy checks log level to avoid unnecessary network api calls
sos.spooler.Log.start_new_file()no Proxystart new file for Master Scheduler
sos.spooler.Task.create_subprocess(question) ProxyRequired to kill subprocesses with task kill
sos.spooler.Subprocess.close(question) Proxy 
sos.spooler.Subprocess.env(question) Proxy 
sos.spooler.Subprocess.environment()(question) Proxy 
sos.spooler.Subprocess.exit_code(question) Proxy 
sos.spooler.Subprocess.ignore_error(question) Proxy 
sos.spooler.Subprocess.ignore_signal(question) FunctionNotSupportedOnAgentExceptionNot possible in Java. Could be implemented with platform-dependant solution.
sos.spooler.Subprocess.kill(question) ProxyHow hard the process is killed (from java) is undefined, see https://docs.oracle.com/javase/8/docs/api/java/lang/Process.html#destroy--
sos.spooler.Subprocess.own_process_group(question) FunctionNotSupportedOnAgentExceptionNot possible in Java. Could be implemented with platform-dependant solution.
sos.spooler.Subprocess.pid(question) FunctionNotSupportedOnAgentExceptionNot possible in Java. Could be implemented with platform-dependant solution.
sos.spooler.Subprocess.priority(question) FunctionNotSupportedOnAgentExceptionNot possible in Java. Could be implemented with platform-dependant solution.
sos.spooler.Subprocess.priority_class(question) FunctionNotSupportedOnAgentExceptionNot possible in Java. Could be implemented with platform-dependant solution.
sos.spooler.Subprocess.start()(question) Proxy 
sos.spooler.Subprocess.terminated(question) Proxy 
sos.spooler.Subprocess.termination_signal(question) FunctionNotSupportedOnAgentExceptionNot possible in Java. Could be implemented with platform-dependant solution.
sos.spooler.Subprocess.timeout(question) Proxy 
sos.spooler.Subprocess.wait_for_termination(question) Proxy 
sos.spooler.Task.priority_class(question) ProxyIs this possible inside the jvm?
sos.spooler.Task.priority(question) ProxyIs this possible inside the jvm?
sos.spooler.Task.std_errstderr_textProxy 
sos.spooler.Task.std_outstdout_textProxy 
sos.spooler.Task.std_errstderr_path(question) ProxyDo we have such a path in the Java-Based Agent? 
sos.spooler.Task.stdstdout_out_path(question) ProxyDo we have such a path in the Java-Based Agent? 
sos.spooler.Xslt_stylesheet all methods(question) FunctionNotSupportedOnAgentExceptionIs this function required deprecated, not used on the agent?