Skip to main content

Creating and editing external program tasks

ON THIS PAGE

Creating and editing external program tasks

With external program tasks, you can trigger external processes, such as scripts or .exe files. Task chaining is supported and you can combine reload tasks with external program tasks.

Do the following:

  1. In the QMC, open Tasks.

  2. Click Create new External program task to create a new external program task, or double-click an existing task to edit it.

  3. Enter a task name.

  4. Enter a path to the file to trigger.

  5. Enter input parameters for the file to trigger, if any.

  6. Optionally, edit the settings in the section EXECUTION.

    Note: Task session timeout: The maximum period of time before a task is aborted. When a task is started, a session is started by the primary scheduler and the task is performed by one of the nodes. If the session times out, the primary scheduler forces the node to abort the task and remove the session.
  7. A task must have at least one trigger to be executed automatically. Manage the triggers by clicking ActionsArrow down in the Triggers table heading and selecting one of the following:

    • Create new once-only trigger, Create new hourly trigger, Create new daily trigger, Create new weekly trigger, or Create new monthly trigger. These are trigger shortcuts and the trigger that you select is added to the table instantly. The start value for the trigger is set to 5 minutes from when it was created and the trigger is enabled.
    • Create new scheduled trigger or Create new task event trigger to create a new trigger of the selected type (see the property descriptions below). A dialog opens. Edit the trigger and click OK to close the dialog and add the trigger to the table.
    • Edit if you want to open the edit dialog for the trigger that is selected in the table. Edit the trigger and click OK to close the dialog and save your changes.
    • Delete if you want to delete the trigger that is selected in the table.
      Clicking undo () in the Triggers heading applies to all triggers you are currently editing.
  8. Optionally, add tags and custom properties.
  9. Click Apply to save the task.