Tasks#

A Task is a single instance of a workflow. When a task is submitted from the browser, the plantit web app hands it to an internal queue feeding a background worker. When the worker picks up the task, a job script is generated and submitted to the selected cluster/supercomputer scheduler. The task lifecycle is a simple state machine strung together from Celery tasks.

Task monitoring#

For a tutorial on monitoring a task and retrieving results, see the quickstart.

Task lifecycle#

The task lifecycle is a state machine progressing from CREATED to RUNNING to one of several mutually exclusive final states (COMPLETED, FAILED, TIMEOUT, or CANCELLED).

../../_images/lifecycle.jpgTask Lifecycle

When a task successfully completes, results are automatically transferred to the selected location in the CyVerse data store. The user is then shown results produced and may download them from the browser individually or bundled into a single archive.