> ## Documentation Index
> Fetch the complete documentation index at: https://vastai-80aa3a82-auto-cli-sdk-preview-pr-398.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# vastai reboot instance

Reboot (stop/start) an instance

## Usage

```bash theme={null}
vastai reboot instance ID [OPTIONS]
```

## Arguments

<ParamField path="id" type="integer" required>
  id of instance to reboot
</ParamField>

## Options

<ParamField path="--schedule" type="string">
  try to schedule a command to run hourly, daily, or weekly. Valid values are HOURLY, DAILY, WEEKLY  For ex. --schedule DAILY
  Allowed values: HOURLY, DAILY, WEEKLY
</ParamField>

<ParamField path="--start_date" type="string" default="2026-06-23">
  Start date/time in format 'YYYY-MM-DD HH:MM:SS PM' (UTC). Default is now. (optional)
</ParamField>

<ParamField path="--end_date" type="string" default="2026-06-30">
  End date/time in format 'YYYY-MM-DD HH:MM:SS PM' (UTC). Default is 7 days from now. (optional)
</ParamField>

<ParamField path="--day" type="parse_day_cron_style">
  Day of week you want scheduled job to run on (0-6, where 0=Sunday) or "\*". Default will be 0. For ex. --day 0
</ParamField>

<ParamField path="--hour" type="parse_hour_cron_style">
  Hour of day you want scheduled job to run on (0-23) or "\*" (UTC). Default will be 0. For ex. --hour 16
</ParamField>

## Description

Stops and starts container without any risk of losing GPU priority.

## Global Options

The following options are available for all commands:

| Option          | Description                                           |
| --------------- | ----------------------------------------------------- |
| `--url URL`     | Server REST API URL                                   |
| `--retry N`     | Retry limit                                           |
| `--raw`         | Output machine-readable JSON                          |
| `--explain`     | Verbose explanation of API calls                      |
| `--api-key KEY` | API key (defaults to `~/.config/vastai/vast_api_key`) |
