144 | | The example presented below is the QCG-Broker Job Profile describing the parameter-sweep experiment executing a set of UNIX calendar tasks for the predefined space of "month" parameter. |
145 | | |
146 | | {{{ |
147 | | #!div style="font-size: 90%" |
148 | | {{{#!xml |
149 | | <qcgJob appId="calendar_example"> |
150 | | <task persistent="true" taskId="calendar"> |
151 | | <execution type="single"> |
152 | | <executable> |
153 | | <execFile> |
154 | | <file> |
155 | | <location type="URL">file:////usr/bin/cal</location> |
156 | | </file> |
157 | | </execFile> |
158 | | </executable> |
159 | | <arguments> |
160 | | <value>${PS_month}</value> |
161 | | <value>2010</value> |
162 | | </arguments> |
163 | | <stdout> |
164 | | <file> |
165 | | <location type="URL">${TASK_DIR}/stdout.txt</location> |
166 | | </file> |
167 | | </stdout> |
168 | | </execution> |
169 | | <parametersSweep> |
170 | | <parameter> |
171 | | <name>month</name> |
172 | | <value> |
173 | | <loop> |
174 | | <start>1</start> |
175 | | <end>12</end> |
176 | | <step>1</step> |
177 | | <except> |
178 | | <value>3</value> |
179 | | <value>6</value> |
180 | | </except> |
181 | | </loop> |
182 | | </value> |
183 | | </parameter> |
184 | | </parametersSweep> |
185 | | </task> |
186 | | </qcgJob> |
187 | | }}} |
188 | | }}} |
| 144 | [[qcg_usage_examples | Przykłady użycia klienta QCG]] |