> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mobster.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# mobster alerts

> Test the webhook that hears about scheduled tasks.

Mobster posts to MOBSTER\_ALERT\_WEBHOOK\_URL (https: Slack, Discord, ntfy or any JSON webhook) when a scheduled task fails, stops or waits a minute for your approval. The post never holds the task's answer or anything it typed.

## Usage

```text theme={"theme":"css-variables"}
mobster alerts <command>
```

```text theme={"theme":"css-variables"}
example:
  mobster alerts test
```

## Commands

| Command | What it does |
| - | - |
| [`mobster alerts test`](#mobster-alerts-test) | send a test alert to your webhook |

## `mobster alerts test`

Send a test alert to MOBSTER\_ALERT\_WEBHOOK\_URL (or `--url`) and say whether the service took it.

### Options

| Name | Default | Description |
| - | - | - |
| `--url URL` | none | send to this https address instead of the saved one |
| `--json` | off | print one JSON object |

```text theme={"theme":"css-variables"}
exit codes: 0 sent, 1 the service didn't take it, 2 no usable address
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.