Skip to content
Agent Orchestration
Command

/restart

Restart the Claude Nights Watch daemon to apply configuration changes

From plugin
nights-watch
3696 skills1 agent6 commands3 hooks
+1
> /plugin marketplace add aniketkarne/claudenightswatch
> /plugin install claude-nights-watch@claude-nights-watch-marketplace

Command definition

restart.md
description: Restart the Claude Nights Watch daemon to apply configuration changes
usage: /nights-watch restart [--at TIME]
examples:
  - /nights-watch restart
  - /nights-watch restart --at "09:00"

Restart Nights Watch Daemon

Restart the Claude Nights Watch daemon by stopping the current instance and starting a new one. Useful after modifying task or rules files.

Usage

/nights-watch restart [OPTIONS]

Options

  • `--at TIME` - Schedule daemon to start monitoring at a specific time after restart
  • Format: `HH:MM` (today) or `YYYY-MM-DD HH:MM` (specific date/time)

What It Does

1. Stops the currently running daemon gracefully 2. Waits 2 seconds for clean shutdown 3. Starts a new daemon instance 4. Loads latest task.md and rules.md files 5. Resumes monitoring with fresh configuration

When to Restart

Restart the daemon when you:

  • Modified `task.md` and want to apply changes
  • Updated `rules.md` safety constraints
  • Changed environment variables
  • Troubleshooting daemon issues
  • Want to reschedule start time

Examples

**Simple restart:**

/nights-watch restart

**Restart with new schedule:**

/nights-watch restart --at "09:00"

Implementation

${CLAUDE_PLUGIN_ROOT}/claude-nights-watch-manager.sh restart "$@"

Restart vs Stop/Start

  • **Restart**: Automated stop + start in one command
  • **Stop/Start**: Manual control over timing between operations

Both achieve the same result, restart is just more convenient.

See Also

  • `/nights-watch stop` - Stop daemon only
  • `/nights-watch start` - Start daemon only
  • `/nights-watch status` - Verify restart was successful
Read more
@aniketkarne
Ships withnights-watch

🚀 NEW: Now available as a Claude Code Plugin! 🎉 Autonomous task execution system for Claude CLI that monitors your usage windows and executes predefined tasks automatically.

3691 agent1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
369
Star history of aniketkarne/claudenightswatch on GitHub, a chart by star-history.com

Other commands on nights-watch.

More commands from other plugins.

COMMAND_COMPLIANCE_REPORT

COMMAND_COMPLIANCE_REP…

Command

Reviewed all command files in `.claude/commands/analysis/` directory to ensure proper usage of: - `mcp__claude-flow__*` tools…

@ruvnet@ruvnetInstall Command
ask

ask

Command

This compatibility command keeps `/oh-my-claudecode:ask` available without loading the full `ask` skill description in every…

@yeachan-heo@yeachan-heoInstall Command