Wiki source code of Jobs

Last modified by Steffi F on 2025/06/13 12:54

Show last authors
1 {{aagon.floatingbox/}}
2
3 = Linux Agent =
4
5 {{apimacro title="JobLinuxAdd Request"}}
6 {{{<ICQL xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://acmp.com/JobLinuxAddRequest_V1">
7 <ACMP>
8 <JobLinuxAdd ActionType="Request" version="1">
9 <TJobLinuxAddRequest_V1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
10 <JobId>{59387FFD-B171-47C5-B735-041FA132CA39}</JobId>
11 <JobName>JobName</JobName>
12 <CreatorName>CreatorName</CreatorName>
13 <ContainerPath>ContainerPath</ContainerPath>
14 <ClientId>{59387FFD-B171-47C5-B735-041FA132CA39}</ClientId>
15 <ContentId>{59387FFD-B171-47C5-B735-041FA132CA39}</ContentId>
16 </TJobLinuxAddRequest_V1>
17 </JobLinuxAdd>
18 </ACMP>
19 </ICQL>}}}
20 {{/apimacro}}
21
22 {{apimacro title="JobLinuxAdd Response"}}
23 {{{<ICQL xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://acmp.com/JobLinuxAddResponse_V1">
24 <ACMP>
25 <JobLinuxAdd ActionType="Response" version="1">
26 <TJobLinuxAddResponse_V1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
27 <ResultCode>0</ResultCode>
28 <ResultMessage>ResultMessage</ResultMessage>
29 </TJobLinuxAddResponse_V1>
30 </JobLinuxAdd>
31 </ACMP>
32 </ICQL>}}}
33 {{/apimacro}}
34
35 {{apimacro title="JobLinuxUpdate Request"}}
36 {{{<ICQL xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://acmp.com/JobLinuxUpdateRequest_V1">
37 <ACMP>
38 <JobLinuxUpdate ActionType="Request" version="1">
39 <TJobLinuxUpdateRequest_V1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
40 <JobId>{59387FFD-B171-47C5-B735-041FA132CA39}</JobId>
41 <ClientId>{59387FFD-B171-47C5-B735-041FA132CA39}</ClientId>
42 <NewState>0</NewState>
43 <Result>0</Result>
44 </TJobLinuxUpdateRequest_V1>
45 </JobLinuxUpdate>
46 </ACMP>
47 </ICQL>}}}
48 {{/apimacro}}
49
50 {{apimacro title="JobLinuxUpdate Response"}}
51 {{{<ICQL xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://acmp.com/JobLinuxUpdateResponse_V1">
52 <ACMP>
53 <JobLinuxUpdate ActionType="Response" version="1">
54 <TJobLinuxUpdateResponse_V1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
55 <ResultCode>0</ResultCode>
56 <ResultMessage>ResultMessage</ResultMessage>
57 </TJobLinuxUpdateResponse_V1>
58 </JobLinuxUpdate>
59 </ACMP>
60 </ICQL>}}}
61 {{/apimacro}}
62
63 {{apimacro title="JobLinuxExecResult Request"}}
64 {{{<ICQL xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://acmp.com/JobLinuxExecResultRequest_V1">
65 <ACMP>
66 <JobLinuxExecResult ActionType="Request" version="1">
67 <TJobLinuxExecResultRequest_V1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
68 <JobId>{59387FFD-B171-47C5-B735-041FA132CA39}</JobId>
69 <ClientId>{59387FFD-B171-47C5-B735-041FA132CA39}</ClientId>
70 <XmlLogFile>XmlLogFile</XmlLogFile>
71 <ExecResult>0</ExecResult>
72 </TJobLinuxExecResultRequest_V1>
73 </JobLinuxExecResult>
74 </ACMP>
75 </ICQL>}}}
76 {{/apimacro}}
77
78 {{apimacro title="JobLinuxExecResult Response"}}
79 {{{<ICQL xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://acmp.com/JobLinuxExecResultResponse_V1">
80 <ACMP>
81 <JobLinuxExecResult ActionType="Response" version="1">
82 <TJobLinuxExecResultResponse_V1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
83 <ResultCode>0</ResultCode>
84 <ResultMessage>ResultMessage</ResultMessage>
85 </TJobLinuxExecResultResponse_V1>
86 </JobLinuxExecResult>
87 </ACMP>
88 </ICQL>}}}
89 {{/apimacro}}
90
91 {{apimacro title="GetJobs Request"}}
92 {{{<?xml version="1.0" encoding="utf-8"?>
93 <ICQL xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://acmp.com/GetJobsRequest_V1">
94 <ACMP>
95 <GetJobs ActionType="Request" version="1">
96 <TGetJobsRequest_V1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
97 <!
98 JobTypes possible values:
99 jtCCScript
100 jtAgentTask
101 jtClient
102 jtWUM
103 jtRolloutTemplate
104 jtJobTemplate
105 jtWumCollection
106 jtManagedSoftware
107 jtDefenderManagement
108 jtGateway
109 jtUnixScript
110 >
111 <JobTypes/>
112 <ClientId>{59387FFD-B171-47C5-B735-041FA132CA39}</ClientId>
113 </TGetJobsRequest_V1>
114 </GetJobs>
115 </ACMP>
116 </ICQL>}}}
117 {{/apimacro}}
118
119 {{apimacro title="GetJobs Response"}}
120 {{{<?xml version="1.0" encoding="utf-8"?>
121 <ICQL xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://acmp.com/GetJobsResponse_V1">
122 <ACMP>
123 <GetJobs ActionType="Response" version="1">
124 <TGetJobsResponse_V1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
125 <Jobs>
126 <TJob_V1 xsi:type="TJob_V1">
127 <Id>{59387FFD-B171-47C5-B735-041FA132CA39}</Id>
128 <Name>Name</Name>
129 <Description>Description</Description>
130 <Priority>0</Priority>
131 <Conditions>
132 <TStartCondition_V1 xsi:type="TStartCondition_V1">
133 <Id>Id</Id>
134 <ConditionType>coStartUp</ConditionType>
135 <RunOnce>false</RunOnce>
136 <Enabled>false</Enabled>
137 <ReevaluateConditionBeforeRun>false</ReevaluateConditionBeforeRun>
138 </TStartCondition_V1>
139 <TStartCondition_V1 xsi:type="TStartCondition_V1">
140 <Id>Id</Id>
141 <ConditionType>coStartUp</ConditionType>
142 <RunOnce>false</RunOnce>
143 <Enabled>false</Enabled>
144 <ReevaluateConditionBeforeRun>false</ReevaluateConditionBeforeRun>
145 </TStartCondition_V1>
146 </Conditions>
147 <JobAction/>
148 <CanRunParallel>false</CanRunParallel>
149 <ContentId>ContentId</ContentId>
150 <JobKind>aiHDQuery</JobKind>
151 <IsManualJob>false</IsManualJob>
152 <Origin>joContainer</Origin>
153 <ContainerId>{59387FFD-B171-47C5-B735-041FA132CA39}</ContainerId>
154 </TJob_V1>
155 <TJob_V1 xsi:type="TJob_V1">
156 <Id>{59387FFD-B171-47C5-B735-041FA132CA39}</Id>
157 <Name>Name</Name>
158 <Description>Description</Description>
159 <Priority>0</Priority>
160 <Conditions>
161 <TStartCondition_V1 xsi:type="TStartCondition_V1">
162 <Id>Id</Id>
163 <ConditionType>coStartUp</ConditionType>
164 <RunOnce>false</RunOnce>
165 <Enabled>false</Enabled>
166 <ReevaluateConditionBeforeRun>false</ReevaluateConditionBeforeRun>
167 </TStartCondition_V1>
168 <TStartCondition_V1 xsi:type="TStartCondition_V1">
169 <Id>Id</Id>
170 <ConditionType>coStartUp</ConditionType>
171 <RunOnce>false</RunOnce>
172 <Enabled>false</Enabled>
173 <ReevaluateConditionBeforeRun>false</ReevaluateConditionBeforeRun>
174 </TStartCondition_V1>
175 </Conditions>
176 <JobAction/>
177 <CanRunParallel>false</CanRunParallel>
178 <ContentId>ContentId</ContentId>
179 <JobKind>aiHDQuery</JobKind>
180 <IsManualJob>true</IsManualJob>
181 <Origin>joPushed</Origin>
182 <ContainerId/>
183 </TJob_V1>
184 </Jobs>
185 <ResultCode>0</ResultCode>
186 <ResultMessage>ResultMessage</ResultMessage>
187 </TGetJobsResponse_V1>
188 </GetJobs>
189 </ACMP>
190 </ICQL>}}}
191 {{/apimacro}}
192
193 {{apimacro title="GetUnixScriptForExecution Request"}}
194 {{{<?xml version="1.0" encoding="utf-8"?>
195 <ICQL xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://acmp.com/GetUnixScriptForExecutionRequest_V1">
196 <ACMP>
197 <GetUnixScriptForExecution ActionType="Request" version="1">
198 <TGetUnixScriptForExecutionRequest_V1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
199 <ScriptId>{59387FFD-B171-47C5-B735-041FA132CA39}</ScriptId>
200 <ContainerId>{59387FFD-B171-47C5-B735-041FA132CA39}</ContainerId>
201 <TestRing>0</TestRing>
202 <JobId>{59387FFD-B171-47C5-B735-041FA132CA39}</JobId>
203 <JobExecId>{59387FFD-B171-47C5-B735-041FA132CA39}</JobExecId>
204 </TGetUnixScriptForExecutionRequest_V1>
205 </GetUnixScriptForExecution>
206 </ACMP>
207 </ICQL>}}}
208 {{/apimacro}}
209
210 {{apimacro title="GetUnixScriptForExecution Response"}}
211 {{{<?xml version="1.0" encoding="utf-8"?>
212 <ICQL xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://acmp.com/GetUnixScriptForExecutionResponse_V1">
213 <ACMP>
214 <GetUnixScriptForExecution ActionType="Response" version="1">
215 <TGetUnixScriptForExecutionResponse_V1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
216 <Content>Content</Content>
217 <!
218 ScriptInterpreter possible values:
219 siBash
220 siZsh
221 >
222 <ScriptInterpreter>siBash</ScriptInterpreter>
223 <ResultCode>0</ResultCode>
224 <ResultMessage>ResultMessage</ResultMessage>
225 </TGetUnixScriptForExecutionResponse_V1>
226 </GetUnixScriptForExecution>
227 </ACMP>
228 </ICQL>}}}
229 {{/apimacro}}
230
231 = Job Results =
232
233 {{apimacro title="SaveJobExecState_V1 Request"}}
234 {{{<ICQL xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://acmp.com/SaveJobExecStateRequest_V1">
235 <ACMP>
236 <SaveJobExecState ActionType="Request" version="1">
237 <TSaveJobExecStateRequest_V1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
238 <JobExecId>{59387FFD-B171-47C5-B735-041FA132CA39}</JobExecId>
239 <!
240 ExecState possible values:
241 esSending
242 esReceived
243 esStarted
244 esFinished
245 esAborted
246 esDelayed
247 >
248 <ExecState>esSending</ExecState>
249 <!
250 ExecResult possible values:
251 jrNone
252 jrSuccessful
253 jrFailed
254 jrSkipped
255 jrNoLicense
256 >
257 <ExecResult>jrNone</ExecResult>
258 <! Optional, some jobs uses constant GUIDs for ChildExecId >
259 <ChildExecId>{59387FFD-B171-47C5-B735-041FA132CA39}</ChildExecId>
260 <! Optional, only used for internal jobs >
261 <MessageCode>0</MessageCode>
262 <! Optional >
263 <NativeMessage>NativeMessage</NativeMessage>
264 </TSaveJobExecStateRequest_V1>
265 </SaveJobExecState>
266 </ACMP>
267 </ICQL>}}}
268 {{/apimacro}}
269
270 {{apimacro title="SaveJobExecState_V1 Response"}}
271 {{{<ICQL xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://acmp.com/SaveJobExecStateResponse_V1">
272 <ACMP>
273 <SaveJobExecState ActionType="Response" version="1">
274 <TSaveJobExecStateResponse_V1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
275 <ResultCode>0</ResultCode>
276 <ResultMessage>ResultMessage</ResultMessage>
277 </TSaveJobExecStateResponse_V1>
278 </SaveJobExecState>
279 </ACMP>
280 </ICQL>}}}
281 {{/apimacro}}
282
283 {{apimacro title="SaveJobExecState_V2 Request"}}
284 {{{<ICQL xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://acmp.com/SaveJobExecStateRequest_V2">
285 <ACMP>
286 <SaveJobExecState ActionType="Request" version="2">
287 <TSaveJobExecStateRequest_V2 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
288 <JobExecId>{59387FFD-B171-47C5-B735-041FA132CA39}</JobExecId>
289 <!
290 ExecState possible values:
291 esSending
292 esReceived
293 esStarted
294 esFinished
295 esAborted
296 esDelayed
297 >
298 <ExecState>esSending</ExecState>
299 <!
300 ExecResult possible values:
301 jrNone
302 jrSuccessful
303 jrFailed
304 jrSkipped
305 jrNoLicense
306 >
307 <ExecResult>jrNone</ExecResult>
308 <! Optional, some jobs uses constant GUIDs for ChildExecId >
309 <ChildExecId>{59387FFD-B171-47C5-B735-041FA132CA39}</ChildExecId>
310 <! Optional, only used for internal jobs >
311 <MessageCode>0</MessageCode>
312 <! Optional >
313 <NativeMessage>NativeMessage</NativeMessage>
314 <! Mandatory and should be a GUID >
315 <JobId>{E3A3C524-7EEC-46DF-B72E-21267226ADAA}</JobId>
316 </TSaveJobExecStateRequest_V2>
317 </SaveJobExecState>
318 </ACMP>
319 </ICQL>}}}
320 {{/apimacro}}
321
322 {{apimacro title="SaveJobExecState_V2 Response"}}
323 {{{<ICQL xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://acmp.com/SaveJobExecStateResponse_V2">
324 <ACMP>
325 <SaveJobExecState ActionType="Response" version="2">
326 <TSaveJobExecStateResponse_V2 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
327 <!
328 StartResult possible values:
329 srAllowed
330 srAborted
331 >
332 <StartResult>srAllowed</StartResult>
333 <ResultCode>0</ResultCode>
334 <ResultMessage>ResultMessage</ResultMessage>
335 </TSaveJobExecStateResponse_V2>
336 </SaveJobExecState>
337 </ACMP>
338 </ICQL>}}}
339 {{/apimacro}}
340
341
© Aagon GmbH 2025
Besuchen Sie unsere neue Aagon-Community