Module: Win32::TaskScheduler::COM

Extended by:
FFI::Library
Defined in:
lib/puppet/util/windows/taskscheduler.rb

Defined Under Namespace

Classes: DAILY, MONTHLYDATE, MONTHLYDOW, TASK_TRIGGER, TRIGGER_TYPE_UNION, WEEKLY

Constant Summary collapse

ITaskScheduler =
TaskScheduler =
IEnumWorkItems =
EnumWorkItems =
IScheduledWorkItem =
ITask =
Task =
IPersist =
IPersistFile =
PersistFile =
ITaskTrigger =
TaskTrigger =
TASK_TRIGGER_TYPE =

msdn.microsoft.com/en-us/library/windows/desktop/aa383620(v=vs.85).aspx The TASK_TRIGGER_TYPE field of the TASK_TRIGGER structure determines which member of the TRIGGER_TYPE_UNION field to use.

enum(
  :TASK_TIME_TRIGGER_ONCE, 0,             # Ignore the Type field
  :TASK_TIME_TRIGGER_DAILY, 1,
  :TASK_TIME_TRIGGER_WEEKLY, 2,
  :TASK_TIME_TRIGGER_MONTHLYDATE, 3,
  :TASK_TIME_TRIGGER_MONTHLYDOW,  4,
  :TASK_EVENT_TRIGGER_ON_IDLE, 5,         # Ignore the Type field
  :TASK_EVENT_TRIGGER_AT_SYSTEMSTART, 6,  # Ignore the Type field
  :TASK_EVENT_TRIGGER_AT_LOGON, 7         # Ignore the Type field
)

Method Summary

Methods included from FFI::Library

attach_function_private