Редагувати

Поділитися через


T (Task Scheduler)

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

task objects

Instances of an object that provides methods for managing tasks. This includes methods for setting and retrieving properties; running, terminating, and deleting tasks; and creating new triggers and retrieving old triggers.

The task object is created by calls to IScheduledWorkItem::CreateTrigger and IScheduledWorkItem::GetTrigger.

task scheduler objects

Instances of an object the represents the Task Scheduler service. This object supports two interfaces: IUnknown and ITaskScheduler (currently tasks are the only type of work items supported by the Task Scheduler service).

Task scheduler objects are created by calls to CoCreateInstance.

task trigger objects

Instances of an object the provides methods for setting and retrieving task triggers. This object supports two interfaces: IUnknown and ITaskTrigger.

Task trigger objects are created by calls to IScheduledWorkItem::CreateTrigger and IScheduledWorkItem::GetTrigger.

See also: triggers.

tasks

Any item that the Task Scheduler can execute. These items may include any of the following (as supported by the operating system on which the task will execute): Win32® applications, Win16 applications, OS/2 applications, MS-DOS® applications, batch files (*.bat), command files (*.cmd), or any properly registered file type.

Tasks folder

The folder that lists all task files (currently, tasks are the only work items available). These files contain the information about the task. The name of these files reflects the name of the task.

You can retrieve the location of the Tasks folder from the registry by getting data for the following value:

HKEY_LOCAL_MACHINE
   SOFTWARE
      Microsoft
         SchedulingAgent
            TasksFolder

triggers

A set of criteria that, when met, will cause a task to be executed. Task Scheduler provides time-based and event-based triggers that can specify task start times, repetition criteria, and other parameters.

trigger strings

A string that describes the trigger. This string is created by the Task Scheduler service, and appears in the Task Scheduler user interface in a form similar to "At 2PM every day, starting 5/11/97."

trigger structures

The TASK_TRIGGER structure used when setting or retrieving the criteria that defines the trigger. The criteria includes when the trigger will fire, and the type of the trigger.