Menu

Caution

You are not reading the most current version of the documentation. If you want up-to-date information, please have a look at 2.5 .

Suspend & Resume

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.

suspend

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.

Syntax:

sctool suspend [global flags]

suspend parameters

suspend takes the Global flags.

resume

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.

Syntax:

sctool resume [global flags]

resume parameters

In addition to Global flags, resume takes the following parameters:


--start-tasks

Start tasks that were stopped by the suspend command.