> For the complete documentation index, see [llms.txt](https://docs.origami.tech/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.origami.tech/function/optional-parameters/sleep-after-seconds.md).

# Sleep After Seconds

## <mark style="color:purple;">`sleep_after_seconds`</mark> -> decimal

Time to sleep after grid execution (seconds). Accepts values of integer and decimal types. It is possible to use <mark style="color:red;">`formula`</mark> as value.

<details>

<summary>Example:</summary>

The orders will be executed with a delay of 300 seconds between executions.

<mark style="color:red;">`“sleep_after_seconds”: “300"`</mark>

***

The orders will be executed with a random delay of 30 - 90 seconds between executions.

<mark style="color:red;">`“sleep_after_seconds”: “60*(0.5+`</mark>[<mark style="color:blue;">`random`</mark>](/function/functions/random.md)<mark style="color:red;">`())"`</mark>

```
60 * (0.5 + random())
```

</details>
