Scheduled tasks

Navigation:  Client commands > Tools > Client command editor > Command list >

Scheduled tasks

Version 1.0.0

Show hidden text

hmtoggle_arrow1Get all tasks

With this command you can enter all (scheduled) tasks of a client. To do so, merely enter one variable in the Details tab in which you want to save the tasks. Each attribute can be used with the following variables, where varname is the name of your variable:

 

%VarName.Name%

%VarName.TaskPath%

%VarName.ApplicationName%

%VarName.Parameters%

%VarName.Comment%

%VarName.WorkingDir%

%VarName.RunAsUserName%

%VarName.LastRun%

Name of the task.

Path where the task is located (Vista only).

Name of the program about to start.

Parameter specifications.

Comment.

Working directory.

Name of the user in which the task will run.

When the task was last started.

 

This command works like a loop. Thus all commands which are subordinate to this command, will be executed once for each task, in which case the corresponding values of the current task are in the specified variable.

 

hmtoggle_arrow1Create task

With this command you can set up a (scheduled) task on a client. Enter a task name in the task options. If the client uses  Windows Vista (or a more current system) , you also have to specify the task folder. In addition, select the application that will perform the task. You can do this manually or with the Browse button. To do this, specify the appropriate parameters, which are to be transmitted to the application on startup. You also have to enter a suitable working directory - normally the same directory used by the application. The comment is optional.

 

5.8.3.2.24 - CreateTask

 

In the Advanced options tab, you can adjust some of the more detailed features of the task:

 

Delete when done

 

Disabled

 

Don't start when on batteries

 

Hidden

 

Interactive

 

Run only if logged on

 

System required

 

Start only if idle

 

Kill on idle end

 

Restart on Idle resume

 

Run if connected to Internet

 

Run only if docked

 

Kill if going on batteries

The task is deleted after it has run through once.

 

The task is created but not activated.

 

The task does not start when the machine is running on battery power.

 

The task is hidden and thus not visible for normal users.

 

The task will be started interactively. This means that the current user can intervene.

 

The task will only run when a user is logged on.

 

The task awakens the system from standby or similar to perform the task.

 

The task starts only when the system is idle.

 

The task is terminated when the system leaves idle mode.

 

The task will be restarted once the system goes into idle.

 

The task will run when an Internet connection is available.

 

The task will run only if the client is connected to a docking station.

 

The task is terminated when the system goes to battery power.

 

Furthermore, the priority of the task can be specified. There are four priorities: Idle, Normal, High, and Real time.

 

In the Run tab you can specify a user as well as the matching password if the local client user does not have the necessary rights to execute the command.

 

hmtoggle_arrow1Edit task

With this command you can change the information and the user of a task. In the Task options tab, you can change the same attributes as can be created in the Create Task. First select a task by manually entering the name or let the corresponding button display a list of all existing tasks of the local machine to choose from.

 

5.8.3.2.24 - EditTask

 

If the client uses Windows Vista (or a newer system), you can also change the task folder. In addition, you can re-select the application which you want run the task. You can do this manually or with the Browse button. In addition, you can adjust the parameters which are to be transmitted to the application on startup. Even the working directory may be modified if necessary.

 

In the Run tab you can specify a user as well as the matching password if the local client user does not have the necessary rights to execute the command.

 

If you want to fill out these fields and want to enable them for change, select the checkboxes next to the respective input fields.

 

hmtoggle_arrow1Delete task

With this command you can delete a specific task. To do so, enter the task name in the Details tab. You ca do this manually or with the Browse button next to the input field, which lists all local tasks in a dialog.

 

hmtoggle_arrow1Delete all tasks

With this command, you will delete all tasks on a client. No other settings are available for this command.

 

hmtoggle_arrow1Create timing

With this command you can create a schedule for the timing of a task. To do so, enter the task name of the task for which you want to create a time schedule in the Type settings tab. If you use Windows Vista (or higher system), also enter the task folder.

 

You can use the adjacent button to enter the task (task name), in which case a dialog with all locally available tasks will be displayed.

 

5.8.3.2.24 - CreateTiming 1

 

In the Schedule type section, you can enable the schedule - the task will then run according to this schedule - and specify the number of times the task should run. In the Schedules section, you can specify this information in more detail:

 

Schedule type

 

Once

 

Daily

 

 

Weekly

 

 

Monthly Date

 

 

Monthly week

 

 

 

On start

 

On login

 

 

 

In idle

Schedule

 

Simply enter the start time.

 

Specify the start time and the interval at which the task should run (Run every x day (s))

 

 

Specify the start time and the interval of the task (Run every x week (s)) and select the desired weekdays.

 

Specify the start time and select the days of the week and the corresponding months. The task will run on each selected day in the selected month at the start time.

 

Similar to the Monthly Date. Specify additionally, in which week of the month the task should run. Here you can choose the first, second, third, fourth and the last week. The selected days relate to the specified week, with the week referring of course to the selected months.

 

The task will run when the system starts.

 

The task will run at the time a user logs into the system. Here you can select whether the task will run for all users of the system or only for a particular user or for a particular group. The latter is only available for Windows Vista (or higher systems).

 

The task will run when the computer is idle. For this purpose, you can specify how long the machine should already be in idle (When idle since) or how the machine should still wait for the idle (wait for idle). If both arguments do not apply, the task will not be executed.

 

In the Start/End/Repeat tab, you can specify additionally a start data as well as an optional end date for this schedule. The end date you have to enable by checking the checkbox in front of the date.

 

5.8.3.2.24 - CreateTiming 2

 

In the Repeat section, you can have the task repeated at a specified interval for a certain period (every x minutes, for y minutes). Enable this feature by checking the boxes next to the option. The specification for y minutes refers subordinate function Terminate task at end of period. If you do not enable this function, the task will continue to run beyond the specified time frame. Otherwise, the task will be cancelled.

 

Hinweis

Note

The settings in the Start/End/Repeat tab can be used only if you have not selected On start, On login or In idle  as schedule type.

 

hmtoggle_arrow1Delete timings

With this command you can delete all the existing schedules for a task. To do so, merely enter the task name - and if you use Windows Vista or a higher system - the task folder in the Details tab.

Last change on 10.03.2014