You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 4
Next »
Scope
- JobScheduler is evolving towards an architecture that allows more flexible use with Agents.
- Find an overview of supported languages for jobs that make use of JobScheduler API
Language Overview
Master | Agent |
---|
Language | Architecture | Language | Architecture | Comment |
---|
VBScript | JVM + Master 64bit - call 64bit components, e.g. COM
- access to 64bit registry
| ScriptControl:VBScript | No support for JVM + Agent 64bit | - ScriptControl is available for 32bit only
- COM objects can be instantiated from 32bit architectures
- Users of VBScript jobs on a Master 64bit should migrate to PowerShell Jobs for Agents
|
| JVM + Master 32bit- call 32bit components, e.g. COM
- access to 32bit registry
| | JVM + Agent 32bit- call 32bit components, e.g. COM
- access to 32bit registry
| - ScriptControl works as a compatibility mode for VBScript Jobs
- Minor syntactical changes to job scripts required
|
| | PowerShell | JVM + Agent 64bit - call 64bit components, e.g. COM
- access to 64bit registry
| - COM objects can be instantiated from both 32bit and 64bit architectures
- The architecture of the JVM in use determines if 32bit or 64bit COM components are referenced
|
| | | JVM + Agent 32bit- call 32bit components, e.g. COM
- access to 32bit registry
| |
| | dotnet (.NET) | same architectures as PowerShell | - Jobs can be implemented in any .NET language by use of the Job Implementation Interface
-
FEATURE AVAILABILITY STARTING FROM RELEASE 1.10.7
|
Examples
VBScript jobs calling COM components
<job title="Master runs VBScript that calls a COM component" order="no" stop_on_error="no" tasks="1">
<description >
</description>
<params >
</params>
<script language="vbscript">
<![CDATA[
Set fso = CreateObject ("Scripting.FileSystemObject")
Set stdout = fso.GetStandardStream (1)
Set stderr = fso.GetStandardStream (2)
dim objTest, intResult
Set objTest = CreateObject ("ComComponent.ComClassExample")
intResult = objTest.AddTheseUp (100, 200)
stdout.WriteLine "running VB job: " & intResult
]]>
</script>
<run_time />
</job>
VBScript Job for Agent
<job title="Master runs VBScript that calls a COM component" order="no" stop_on_error="no" tasks="1">
<description >
</description>
<params >
</params>
<script language="vbscript">
<![CDATA[
Set fso = CreateObject ("Scripting.FileSystemObject")
Set stdout = fso.GetStandardStream (1)
Set stderr = fso.GetStandardStream (2)
dim objTest, intResult
Set objTest = CreateObject ("ComComponent.ComClassExample")
intResult = objTest.AddTheseUp (100, 200)
stdout.WriteLine "running VB job: " & intResult
]]>
</script>
<run_time />
</job>