# Jobs

A job is a piece of work the server does by itself: fetch the files a partner left on their server every night, decrypt what was uploaded and move it to where it belongs, mail a report every Monday, delete what is older than ninety days. A job is drawn, not written: you put steps, called **tasks**, on a canvas and join them with lines.

The **Jobs** app is where jobs are made, run and watched. It is in the menu bar of the admin pages.

![The Jobs app with a job of two tasks](Jobs-Designer/designer.png)

## The parts of the app

| Part | What it is | Page |
|---|---|---|
| **Available Jobs**, on the left | the list of jobs, in folders | [The job list, folders and groups](Jobs-List.md) |
| **Active Jobs**, on the left | the runs: what is running now, and what ran | [Running, watching and stopping](Jobs-Running.md) |
| **Jobs** | the designer of the selected job | [The designer](Jobs-Designer.md) |
| **Dashboard** | the health of all jobs at a glance | [Overview](Jobs-Overview.md) |
| **Engines** | the programs that run the jobs | [Job engines](Jobs-Engines.md) |

## The words

| Word | Means |
|---|---|
| job | the drawing: tasks, lines, a schedule |
| task | one step: Find, Copy, Email … There are 38 kinds. |
| item | one file or folder a job is working on. Tasks hand a **list of items** from one to the next. |
| run | one execution of a job. A job can have many runs, also at the same time. |
| engine | the program that executes runs, apart from the server itself |

## How a job works, in one paragraph

A run starts at **Start** with an empty list, or with the files that triggered it. Each task does its work on the list and passes a list on along its line: a **Find** fills the list with the files of a folder, a **Copy** copies each of them somewhere, an **Email** tells somebody. When a task fails, the run follows the task's failure line if it has one. A run ends at **End**. See [How a job flows](Jobs-Flow.md).

## What starts a job

A schedule, an event of a user (an upload, a login), a watched folder, another job, a call to the API, or you: see [What starts a job](Jobs-Triggers.md) and [Schedules](Jobs-Schedules.md).

## The tasks

| Group | Tasks |
|---|---|
| Transfer | [Copy](Task-Copy.md), [Move](Task-Move.md), [HTTP](Task-HTTP.md), [AS2](Task-AS2.md), [CMS](Task-CMS.md), [Glacier](Task-Glacier.md), [Tunnel](Task-Tunnel.md) |
| Files | [Find](Task-Find.md), [FindCache](Task-FindCache.md), [Exclude](Task-Exclude.md), [Sort](Task-Sort.md), [Delete](Task-Delete.md), [Rename](Task-Rename.md), [MakeDirectory](Task-MakeDirectory.md), [WriteFile](Task-WriteFile.md), [Preview](Task-Preview.md), [Link](Task-Link.md) |
| Archive | [Zip](Task-Zip.md), [Unzip](Task-Unzip.md), [Compress](Task-Compress.md), [Decompress](Task-Decompress.md) |
| Mail | [Email](Task-Email.md), [PopImap](Task-PopImap.md), [MicrosoftMails](Task-MicrosoftMails.md) |
| Data | [PGP](Task-PGP.md), [FileParser](Task-FileParser.md), [SQL](Task-SQL.md), [UserVariable](Task-UserVariable.md), [UsersList](Task-UsersList.md), [JMS](Task-JMS.md), [Kafka](Task-Kafka.md) |
| Flow | [Jump](Task-Jump.md), [Branch](Task-Branch.md), [Wait / Joiner](Task-Wait.md), [Loop](Task-Loop.md), [Kill](Task-Kill.md) |
| Run | [Execute](Task-Execute.md), [Java](Task-Java.md), [Custom](Task-Custom.md), [RaspberryPi](Task-RaspberryPi.md) |

## More

| Subject | Page |
|---|---|
| values that change from file to file and run to run | [Variables](Jobs-Variables.md), [Functions](Jobs-Functions.md) |
| running a task only for some files | [Conditions on a task](Jobs-Conditions.md) |
| ready-made pieces, and tasks from a curl command | [Snippets and the curl import](Jobs-Snippets.md) |
| stepping through a job | [Breakpoints and stepping](Jobs-Breakpoints.md) |
| who may see, change and run a job | [Who may see, change and run a job](Jobs-Access.md), [Approvals](Jobs-Approvals.md) |
| who changed what | [The change log and audit](Jobs-Change-Log.md) |
| when something goes wrong | [When a job fails](Jobs-Failures.md) |
| very large lists | [Jobs with a million items](Jobs-Large-Lists.md) |
| message queues | [Message queues](Jobs-Messaging.md) |
| worked examples | [Examples](Jobs-Examples.md) |

Jobs need an Enterprise licence.
