The suspend command stops execution of all tasks that are running on a cluster. The tasks can be resumed using the resume command. If you want to stop a specific task, use the task stop command.
When the suspend command is executed:
The running tasks are stopped.
The scheduled tasks are canceled.
The sctool task list command shows no next activation time.
Starting a task manually fails.
The health check tasks are an exception and they run even after suspend.
sctool suspend [global flags]
suspend takes the Global flags.
The resume command reschedules the suspended tasks.
You can resume with the
--start-tasks flag to start tasks that were stopped by the suspend command.
sctool resume [global flags]
In addition to Global flags, resume takes the following parameters:
Start tasks that were stopped by the suspend command.