Scenario: Creating a job definition using a computer resource group
In this scenario, a job is created to run the inventory update program, selecting the target system from the invadmin resource group set up to include the computers that are suitable for running the script.
About this task
Procedure
Results
<jsdl:jobDefinition xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:jsdl="http://www.abc.com/xmlns/prod/scheduling/1.0/jsdl"
xmlns:jsdle="http://www.abc.com/xmlns/prod/scheduling/1.0/jsdle"
xsi:schemaLocation="http://www.abc.com/xmlns/prod/scheduling/1.0/jsdl JSDL.xsd
http://www.abc.com/xmlns/prod/scheduling/1.0/jsdle JSDL-Native.xsd"
description="Run inventory update script on a computer from the
invadmin resource group.
" name="compgroupjob">
<jsdl:application name="executable">
<jsdle:executable path="/opt/invupdate">
</jsdle:executable>
</jsdl:application>
<jsdl:resources>
<jsdl:group name="invadmin"/>
</jsdl:resources>
</jsdl:jobDefinition>