---
title: "Gateway Commands - How to snooze a target path for a specific duration i.e. hours/days/minutes?"
description: "Snoozing a specific DataItem in Geneos Gateway requires using the /SNOOZE:time command with correct time arguments. The command supports durations in minutes, hours, or days by specifying appropriate argument values."
url: "https://docs.itrsgroup.com/docs/faq/geneos/28147307761437-geneos-gateway-commands-how-to-snooze-a-target-path-for-a-specific-duration-i-e-hours-days-minutes/index.html"
---
## Related to

*Gateway Commands, Snooze a target path for a specific duration*

### Problem

How to snooze a specific DataItem for a specific duration.

### Solution

You can use the **/SNOOZE:time** command and please follow the correct arguments based on the [article](https://docs.itrsgroup.com/docs/geneos/current/processing/monitoring-and-alerts/geneos_commands_tr/index.html#appendix-internal-commands) (Provided a snippet below):

**![Geneos - Gateway Commands - How to snooze a target path for a specific duration i.e. hours/days/minutes?](https://docscdn.itrsgroup.com/faq/images/geneos/28147307761437-inline-1-image.png)**

**Example:**

**If you want to snooze a Data item for 30 minutes, you may use the command below as an example:**

```
curl -v -X POST \
  -H "Content-Type: application/json" \
  -d '{
        "command": "/SNOOZE:time",
        "target": "/geneos/gateway[(@name=\"gw_6.6y\")]/directory/probe[(@name=\"probe_6.6\")]/managedEntity[(@name=\"me_6.6\")]",
        "args": {
          "1": "Snooze for 30 minute",
          "4": 30,
          "5": 3600
        }
      }' \
  http://<GW_IP>:<GW_PORT>/rest/runCommand
```

**Using Argument 4 as the desired time:**
"4":30

**Using Argument 5:**
"5":3600 (This is for hours)
"5":60 (This is for minutes)
"5":86400 (This is for days)

**Your command should show as:**

![Geneos - Gateway Commands - How to snooze a target path for a specific duration i.e. hours/days/minutes?](https://docscdn.itrsgroup.com/faq/images/geneos/28147307761437-33809391036573-image.png)

**Output:**

![Geneos - Gateway Commands - How to snooze a target path for a specific duration i.e. hours/days/minutes?](https://docscdn.itrsgroup.com/faq/images/geneos/28147307761437-33809385626397-image.png)

**Log output:**

```
2026-02-08 15:59:15.724+0800  INFO: CommandManager Executing command [/SNOOZE:time] with id [47] for request id [8]
2026-02-08 15:59:15.725+0800  INFO: CommandManager Executing command '/SNOOZE:time' on DataItem '/geneos/gateway[(@name="gw_6.6y")]/directory/probe[(@name="probe_6.6")]/managedEntity[(@name="me_6.6")]', issued by anonymous user on '192.168.101.73' using REST service
```


