1.2 KiB
1.2 KiB
description, usage, examples
| description | usage | examples | |
|---|---|---|---|
| Stop the Claude Nights Watch daemon and halt autonomous task execution | /nights-watch stop |
|
Stop Nights Watch Daemon
Stops the running Claude Nights Watch daemon gracefully, halting all autonomous task execution monitoring.
Usage
/nights-watch stop
What It Does
- Locates the running daemon process
- Sends graceful shutdown signal (SIGTERM)
- Waits up to 10 seconds for clean shutdown
- Force kills if necessary (SIGKILL)
- Cleans up PID file and resources
Behavior
- Graceful Shutdown: Daemon completes current operations before stopping
- 10-Second Timeout: If not stopped gracefully, force kill is applied
- Safe: Any running Claude task is allowed to complete
- Clean State: All PID files and locks are removed
Examples
/nights-watch stop
Implementation
${CLAUDE_PLUGIN_ROOT}/claude-nights-watch-manager.sh stop
Exit Codes
0- Daemon stopped successfully1- Daemon was not running or error occurred
See Also
/nights-watch start- Start the daemon/nights-watch restart- Restart the daemon/nights-watch status- Check if daemon is running