Help Center/ Workspace/ User Guide (Administrators)/ Tasks/ Scheduled Tasks/ Scheduled Remote Script Execution
Updated on 2025-08-07 GMT+08:00

Scheduled Remote Script Execution

Scenarios

This section describes how to remotely run commands based on the created scripts to perform operations on cloud desktops. For details about the scripts to be executed, see Script Management.

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 page is displayed.

  4. Configure a scheduled task.

    • Task Type: Select Remote script.
    • 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.
    • Time Zone: The local time zone is selected by default.
    • Description: This parameter is optional and user-defined.
    • Add Script: Click Add Script. In the window displayed, select the desired scripts and click OK.

  5. Specify Timeout. The value ranges from 1 to 600 minutes.
  6. Determine whether to notify users.

    • Yes: Set Earlier Than Scheduled Task to a value ranging from 1 to 10,080 minutes. Enter the notification, which can only be text in 1 to 400 characters.
    • No: Perform 7.

      Notification messages are available only for Windows.

  7. Select I've checked. No problem. and click Next: Select Object.

    The page for selecting target objects is displayed.

  8. Select Desktop, Desktop pool, or Tag from the Available Objects drop-down list box, and select the objects to which the policy is to be applied in the list below.
  9. Click Create Now.