---
title: "sleep"
canonical: "https://support.appfire.com/space/SCLI/73368004/sleep"
format: markdown
---
See also: [Actions](https://appfire.atlassian.net/wiki/spaces/SCLI/pages/73368507)

> Macro (details)
> 
> | **Description** | Sleep a number of seconds. Defaults to 1 second. Use in ACLI scripts that may need to wait before proceeding to the next action. For instance, waiting for server to complete updating search indexes or polling type scenarios. |
> | --- | --- |
> | **Required Parameters** |  |
> | **Optional Parameters** | [value](https://appfire.atlassian.net/wiki/spaces/SCLI/pages/73371521) |
> | **Type** | [Check](https://appfire.atlassian.net/wiki/spaces/SCLI/pages/73370540/Action+Types#ActionTypes-Check) |
> | **Category** | [System](https://appfire.atlassian.net/wiki/spaces/SCLI/pages/73371318/Action+Categories#ActionCategories-System) |
> | **Output Formats** |  |
> | **Replacement Variables** |  |
> | **Hosting** |  |
> | **Since Version** | 9.3 |
> | **Examples** |  |

## Related How To's

> Macro (cql-query)