# tSleep

Identifies possible bottlenecks using a time break in the Job for testing or tracking purpose.

tSleep implements a time off in a Job execution. In production, it can be used for any needed pause in the Job to feed input flow for example.

## tSleep Standard properties

These properties are used to configure tSleep running in the Standard Job framework.

The Standard tSleep component belongs to the Orchestration family.

The component in this framework is available in all Talend products.

## Basic settings

| Properties | Description |
| --- | --- |
| Pause (in second) | Time in second the Job execution is stopped for. |

## Global Variables

| Variables | Description |
| --- | --- |
| Global Variables | ERROR\_MESSAGE: the error message generated by the<br>component when an error occurs. This is an After variable and it returns a string. This<br>variable functions only if the Die on error checkbox is<br>cleared, if the component has this checkbox.<br><br>A Flow variable functions during the execution of a component<br>while an After variable functions after the execution of the component.<br><br>To fill up a field or expression with a variable, press Ctrl+Space to access the variable list and choose the variable to use from<br>it.<br><br>For more information about variables, see [Using contexts and variables](https://help.qlik.com/talend/r/en-US/8.0/studio-user-guide/contexts-and-variables). |

## Usage

| Usage guidance | Description |
| --- | --- |
| **Usage rule** | tSleep component is generally<br>used as a middle component to make a break/pause in the Job, before<br>resuming the Job. |
| Connections | Outgoing links (from this component to another):<br><br><br>Row: Main; Iterate.<br><br><br>Trigger: On Subjob Ok; On Subjob<br>Error; Run if; On Component Ok; On Component Error<br><br>Incoming links (from one component to this one):<br><br><br>Row: Main; Reject; Iterate.<br><br><br>Trigger: On Subjob Ok; On Subjob<br>Error; Run if; On Component Ok; On Component Error; Synchronize;<br>Parallelize.<br><br>For further information regarding connections, see [Using connections in a Job](https://help.qlik.com/talend/r/en-US/8.0/studio-user-guide/using-connections-in-job). |

**Related concepts**

* [Executing a Job multiple times using a loop](https://help.qlik.com/talend/en-US/components/8.0/orchestration/trunjob-tloop-tlogrow-executing-job-multiple-times-using-loop-standard-component "This scenario describes a Job composed of a parent Job and a child Job. The parent Job implements a loop which executes a child Job five times, with a pause of three seconds between each two executions.")