The following example describes a successful Job Creation request that creates a single cyclic job that performs a command.
<?xml version="1.0" encoding="iso-8859-1"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<ctmem:request_create_aj xmlns:ctmem="http://www.bmc.com/ctmem/schema800">
<ctmem:user_token>$USER_TOKEN$</ctmem:user_token>
<ctmem:control_m>ctm3-omega</ctmem:control_m>
<ctmem:active_job>
<ctmem:job_name>Cyc0</ctmem:job_name>
<ctmem:mem_name>Cyc0</ctmem:mem_name>
<ctmem:task_type>command</ctmem:task_type>
<ctmem:application>Cyclic</ctmem:application>
<ctmem:sub_application>Cyclic</ctmem:sub_application>
<ctmem:max_wait>0</ctmem:max_wait>
<ctmem:prevent_nct2>no</ctmem:prevent_nct2>
<ctmem:time_from>1100</ctmem:time_from>
<ctmem:time_until>2300</ctmem:time_until>
<ctmem:rerun_interval>00060M</ctmem:rerun_interval>
<ctmem:critical>no</ctmem:critical>
<ctmem:cyclic>yes</ctmem:cyclic>
<ctmem:confirm_flag>yes</ctmem:confirm_flag>
<ctmem:auto_archive>no</ctmem:auto_archive>
<ctmem:sys_db>no</ctmem:sys_db>
<ctmem:arch_max_days>0</ctmem:arch_max_days>
<ctmem:arch_max_runs>0</ctmem:arch_max_runs>
<ctmem:rerun_max>0</ctmem:rerun_max>
<ctmem:command>ls -l</ctmem:command>
</ctmem:active_job>
</ctmem:request_create_aj>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Parent Topic |