Skip to main content

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

      --auth-token string   API bearer authentication token
-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

Auto generated by spf13/cobra on 27-Jan-2026