Skip to content
Agent Orchestration
Command

/restart

Restart the Claude Nights Watch daemon to apply configuration changes

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

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/restart

Context preview

What this command does when you run it.

Restart the Claude Nights Watch daemon to apply configuration changes

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
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.

Get the whole plugin
Stats
369
Stars
45
Forks
Active
Maintenance
Shell
Language
MIT
License
2d ago
Last commit
1y ago
Created
3h ago
Added

Repo: aniketkarne/claudenightswatch

Other commands on nights-watch.