Skip to main content

expanso-cli job rerun

expanso-cli job rerun​

Restart a job with its current configuration

Synopsis​

Restart a job by re-executing it with the same spec. This creates a new version with rollout type 'restart' and triggers a new evaluation to re-deploy executions.

To deploy a previous version's spec, use 'expanso-cli job rollback' instead.

expanso-cli job rerun JOB_ID_OR_NAME [flags]

Examples​

# Restart a job by name
expanso-cli job rerun my-job

# Restart a job by ID
expanso-cli job rerun job-abc123

# Restart a job in a specific namespace
expanso-cli job rerun my-job --namespace production

Options​

-h, --help help for rerun
--namespace string Job namespace

Options inherited from parent commands​

--api-key string API key for authentication (e.g., exp_ak_...). Env: EXPANSO_CLI_AUTH_API_KEY (preferred; flag values show in ps output)
-e, --endpoint string API endpoint URL
-k, --insecure Skip TLS certificate verification
-p, --profile string Profile to use for configuration
--timeout string Request timeout duration
-v, --verbose Enable verbose logging

SEE ALSO​