Skip to content

How to Use Scheduled Tasks to Manage Cloud Desktop Computers on a Timer

Console -> Scheduled Tasks

In the left menu, go to Scheduled Tasks to see the list of created scheduled tasks. For each group of computers you can schedule operations such as timed restart, shutdown, sending messages, and switching the default desktop.

Scheduled task list

List field descriptions:

ColumnDescription
Task NameThe name identifying the scheduled task
Command TypeThe command the task executes, such as restart, shutdown, send message, etc.
Run RuleThe task's trigger rule (a cron rule converted from the execution cycle)
Last Run TimeThe time of the last successful execution
Execution TargetThe group the task acts on
Force ExecutionWhether to ignore the current state and force execution
EnableThe enable / disable switch for the task
ActionsEntry points for editing, deleting, etc.

Create a New Scheduled Task

Click Create at the top right and fill in the "New Scheduled Task" panel that pops up:

New scheduled task

  1. Task Name: The name identifying the scheduled task.

  2. Execution Cycle: Can be set to daily / weekly, etc.; after saving, it is converted to a cron expression when editing, for more flexible configuration.

  3. Execution Time: The specific time point at which the task triggers.

  4. Execution Target: Batch-select the groups to manage.

  5. Force Execution: When off, execution is skipped if the group contains a machine in Learning Mode, Update Mode, or Read-Write Mode, or if any computer is downloading; when on, these checks are skipped and the command is forced.

  6. Command: Restart, shutdown, send message, etc.

Editing with cron rules for greater flexibility

After creation, editing the task automatically configures it using cron rules, which offers greater flexibility.

Cron Explanation and Usage

A cron expression consists of 5 (or 6) fields that, in order, represent: minute, hour, day, month, day-of-week (and an optional second). The meaning and value range of each field are as follows:

PositionField NameValue RangeAllowed Special CharactersDescription & Example
1stminute0–59* , - /The minute within the hour to execute. Example: 30 means the 30th minute of every hour
2ndhour0–23* , - /The hour of the day to execute. Example: 14 means 2:00 PM
3rdday of month1–31* , - / ? L WThe day of the month. Example: 1 for the 1st of every month; 1-5 for the 1st through 5th
4thmonth1–12 or JAN–DEC* , - /The month. Example: * for every month; 1,6 for January and June only
5thday of week0–7 (0 and 7 both represent Sunday) or SUN–SAT* , - / ? L #The day of the week. Example: 1-5 for Monday through Friday; 0 or 7 for Sunday

Common special characters:

CharacterMeaningExample
*Any / Every* in the minute field means every minute
,List1,15,30 means 1, 15, and 30
-Range1-5 means 1 through 5
/Step*/5 means every 5 units; 0/15 means every 15 units starting from 0
?Unspecified (day/week only)Usually only one of day and day-of-week is specified; the other uses ?

Usage examples:

Cron ExpressionMeaning
0 9 * * *Execute every day at 9:00
0 18 * * 1-5Execute at 18:00 every Monday through Friday
30 8 1 * *Execute at 8:30 on the 1st of every month
0 */2 * * *Execute once every 2 hours on the hour
0 0 * * 0Execute every Sunday at 0:00

After successful execution, the last execution time is recorded.

Before a shutdown task (e.g., 22:00), you can schedule a message-sending task at 21:55 to remind users that all computers are about to shut down — please save your personal files.