| 1 | 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. |
| 2 | |
| 3 | {{{ |
| 4 | #!div style="font-size: 90%" |
| 5 | {{{#!xml |
| 6 | <qcgJob appId="calendar_example"> |
| 7 | <task persistent="true" taskId="calendar"> |
| 8 | <execution type="single"> |
| 9 | <executable> |
| 10 | <execFile> |
| 11 | <file> |
| 12 | <location type="URL">file:////usr/bin/cal</location> |
| 13 | </file> |
| 14 | </execFile> |
| 15 | </executable> |
| 16 | <arguments> |
| 17 | <value>${PS_month}</value> |
| 18 | <value>2010</value> |
| 19 | </arguments> |
| 20 | <stdout> |
| 21 | <file> |
| 22 | <location type="URL">${TASK_DIR}/stdout.txt</location> |
| 23 | </file> |
| 24 | </stdout> |
| 25 | </execution> |
| 26 | <parametersSweep> |
| 27 | <parameter> |
| 28 | <name>month</name> |
| 29 | <value> |
| 30 | <loop> |
| 31 | <start>1</start> |
| 32 | <end>12</end> |
| 33 | <step>1</step> |
| 34 | <except> |
| 35 | <value>3</value> |
| 36 | <value>6</value> |
| 37 | </except> |
| 38 | </loop> |
| 39 | </value> |
| 40 | </parameter> |
| 41 | </parametersSweep> |
| 42 | </task> |
| 43 | </qcgJob> |
| 44 | }}} |
| 45 | }}} |