ShellTask

From GreenVulcano Wiki
Jump to: navigation, search

Description

ShellTask element describes a Task that invokes a shell command.

The following table shows the ShellTask element's attributes:

Attribute Type Description
type fixed This attribute must assume the value task
class fixed This attribute must assume the value it.greenvulcano.scheduler.shell.ShellTask
name required Task name.
auto-start required If 'true' Task is automatically registered on the timer.
enabled optional Task activation status.

The admitted values are:

  • true
  • false
directory optional Pathname of the directory in which the command is executed.

This pathname can be static or may contain placeholders that are replaced at runtime. If this attribute is not present, the command is executed within the current working directory.

Might contain the following sub-elements: