Apps
Dmon
# dmon
TUI control panel for a running `deft mon` daemon.
```sh
deft mon
retro app deft/dmon
retra app deft/dmon
````
The daemon control server defaults to port 4712. The app resolves the port
from config `deftmon/control-port`, then `$DEFTMON_PORT`, then 4712; press
`c` to change it.
## Keys
| Key | Action |
|---|---|
| `1` / `2` / `3` | jobs / agents / workspaces |
| `a` | add a scheduled shell job through dialogs |
| `enter` | run selected job / task selected agent |
| `d` | enable/disable selected job |
| `x` | remove selected job / close selected workspace |
| `t` / `s` | task / stop selected agent |
| `c` | change control port |
| `r` | refresh |
| up/down, `j`/`k` | move selection |
## Job schedules
The add-job dialog accepts:
- 5-field cron, e.g. `0 3 * * *`
- `@every 60` or `every:60`
- `@at <epoch>` or `at:<epoch>`
The action runs the shell command through the daemon's scheduler.