Creating Tasks
Previous Top Next

In any task a number of steps or actions are required to successfully perform the specific task. Similarly in Optitask a task is a container for a number of actions each with their own configurations and rules. Each task can have an unlimited number of actions in any order. A simple file backup task for example can have three actions:

·    Add file(s) to a Zip file.
·    Copy or upload the Zip file to a safe location.
·    Send an email notification on any failures of the backup.

When the task above is scheduled the Service Engine will execute the task that will in turn execute every action in the task in the order in which they appear.

To create a new task select the folder where you want the task to be created and click on the New Task icon from the menu or toolbar.

graphic

The Task properties window will appear with four property pages:
·    General
·    Triggers
·    Alerts
·    References

          
General Page
  
Task Name
The name of the task. You can enter any meaningful name that you can refer back to later.
Task Enabled
Indicates if the task can be executed. When this option is unchecked the task will not be able to execute when it is triggered from the scheduler or other tasks.
Allow  more than one active instance
Some tasks may be resource intensive and cause a bottleneck effect when other instances start before a previous one was completed. If you check this option only one instance can run regardless if others taks are started.
Start another task on failure of this task
If you need a second task to start when this task fails you can check this option and choose the second task to start.


Triggers Page

Refer to Creating Triggers

Alerts Page

Refer to Creating Alerts

References Page

Refer to Calling .NET Assemblies


The next step: Learn how to Create Actions