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

# idyl trigger

> Manually trigger a resource

Manually trigger execution of a scheduled resource.

## Usage

```bash theme={null}
idyl trigger
```

## Commands

| Command                | Description                |
| ---------------------- | -------------------------- |
| `idyl trigger cronjob` | Manually trigger a cronjob |

## Inherited flags

| Flag                                 | Description                                                        |
| ------------------------------------ | ------------------------------------------------------------------ |
| `-a <string>, --account-id <string>` | Account ID to use, overriding the current context.                 |
| `-c <string>, --context <string>`    | Use the named context for this command.                            |
| `--homedir <string>`                 | Override the configuration directory. Defaults to \~/.config/idyl. |
| `-n <string>, --namespace <string>`  | Namespace to use for this command.                                 |
| `-o <string>, --output <string>`     | Output format (json\|yaml).                                        |
| `-p <string>, --profile <string>`    | Override the access profile for this command.                      |
| `--realm <string>`                   | Override the realm for this command.                               |
| `--subnet <string>`                  | Override the context subnet for this command.                      |

## Examples

```bash theme={null}
# Trigger a cronjob immediately
idyl trigger cronjob my-batch-job

# Trigger a cronjob in a specific namespace
idyl trigger cronjob my-batch-job -n production
```

## Subcommand reference

### `idyl trigger cronjob`

Manually trigger a cronjob

#### Usage

```bash theme={null}
idyl trigger cronjob <name> [flags]
```

#### Aliases

* `cronjobs`
* `cj`

#### Flags

| Flag                                | Description                                     |
| ----------------------------------- | ----------------------------------------------- |
| `-n <string>, --namespace <string>` | Namespace name, overriding the current context. |
