Previous Topic: addJob—Add Job to Job ContainerNext Topic: Example


Procedures File Format

The procedures file consists of entries of the following syntax:

item = item 
version = version 
procedure = procedure 
task={install|configure|activate|uninstall}
[deliverytime="YYYY-MM-DD hh:mm" ] 
[attime="YYYY-MM-DD hh:mm" ]
[after={exacttime|boottime}] 
[calendarname=deliverycalendar]
[preaction={none|reboot|logoff}]
[postaction={none|reboot|logoff|rebootAtEnd|logoffAtEnd}]
[promptUser={y|n}] 
[allowCancel={y|n}] 
[execTimedOut={y|n}] 
[prompt=days.hours]
[offline={y|n}] 
[RunAtShutdown={y|n}] 
[PreventLogon={y|n}] 
[GlobalTime={y|n}] 
[nocalendar={y|n}]
[ResolveQuery={y|n}] 
[Parameters=userparameter]
[stagingserver={y|n}]
[JobTimeout=d.h]
item

Name of the group item this entry is related to

version

Version for the group item this entry is related to

procedure

Specifies the item procedure to be performed

task

Specifies the procedure type.

The following types are valid:

install

The procedure installs the item.

configure

The procedure configures the item

activate

The procedure activates the item.

uninstall

The procedure uninstalls the item.

If the parameter is not coded, install is assumed.

The parameters "item", "version", "procedure", and "task" have to be coded at each line as the first parameters and they have to be coded in the order as in the syntax definition previously shown. The remaining parameter can be coded in any order.

The meaning of the other parameters corresponds to the meaning of the command parameters shown in cadsmcmd jobcontainer action=addjob.

The procedure options for a job procedure are taken from the settings in this list.

If for a procedure an option is not coded in the related list entry then it is taken from the settings on command layer.

If it is not coded there then it is taken from the procedure options registered.