Updated on 2024-10-23 GMT+08:00

Scheduled Shutdown

Scenario

This section describes how to shut down a cloud desktop or a desktop pool periodically.

Impact on the System

Personal application data that is not saved in the desktop may be lost after the desktop is shut down.

Prerequisites

Scheduled shutdown can be performed only on desktops that are running.

Procedure

  1. Log in to the console.
  2. In the navigation pane, choose Tasks > Scheduled Tasks.

    The Scheduled Tasks page is displayed.

  3. Click Create Scheduled Task in the upper right corner of the page.

    The Create Scheduled Task window is displayed.

  4. Configure a scheduled task.

    • Task Type: Select Shutdown.

      Forcibly execute the Shutdown task: After configuring a scheduled shutdown task, the desktop will not be shut down when it is still connected, even if the scheduled time arrives. Instead, the shutdown is automatically postponed to the next scheduled time. If you choose to forcibly execute the shutdown task, the desktop will be forcibly shut down when the scheduled time arrives.

    • Task Name: This parameter is user-defined.
    • Execution Interval: You can select one of the following intervals:
      • Specified time: The time is accurate to seconds.
      • By day: You can specify Time, Executed Once Per, and Expires At.
      • By week: You can specify Weekday, Time, and Expires At.
      • By month: You can specify Month, Day, Time, and Expires At.

  5. Set Notification to determine whether to notify users.

    • Enable: Perform 6 to 10.
    • Disable: Perform 8 to 10.

  6. Specify Earlier Than Scheduled Task. The value ranges from 1 to 10,080 minutes.
  7. Enter content in Notification Message. The content must be text in 1 to 1,024 characters.
  8. Click Next: Select Object.

    The Select Target Object page is displayed.

  9. In the Available Objects area, select All desktops, Desktops, or Desktop pools from the drop-down list box, and select the desired objects.
  10. Click Create Now.