It seems that the Task Scheduler 2.0 enum types in TASK_TRIGGER_TYPE2 are not implemented:
These are for Task Scheduler 1.0 $ grep -rni TASK_TIME_TRIGGER_DAILY * com/win32comext/taskscheduler/src/PyITaskTrigger.cpp:129: "TASK_TIME_TRIGGER_ONCE,TASK_TIME_TRIGGER_DAILY,\n" com/win32comext/taskscheduler/src/PyITaskTrigger.cpp:133: {"Daily_DaysInterval", T_USHORT, OFF(task_trigger.Type.Daily.DaysInterval),0,"TASK_TIME_TRIGGER_DAILY"}, com/win32comext/taskscheduler/src/taskscheduler.cpp:40: PyModule_AddIntConstant(module,"TASK_TIME_TRIGGER_DAILY", TASK_TIME_TRIGGER_DAILY); These are for Task Scheduler 2.0 $ grep -rni TASK_TRIGGER_DAILY * $ http://msdn.microsoft.com/en-us/library/aa383915(v=VS.85).aspx Is Task Scheduler 2.0 supported in pywin32 or can you provide me with some ideas on how to make it work? (my code is located here: http://pastebin.com/bmg847hw ) Thanks in advance, Bogdan On 4, May, 2010, at 7:08 AM, Roger Upole wrote: > Does job.GetTriggerCount() return 1 ? > If it does, but the trigger doesn't appear in the > Task Scheduler UI, most likely there's > something it doesn't like about the trigger's > flags. > > Roger > > _______________________________________________ > python-win32 mailing list > python-win32@python.org > http://mail.python.org/mailman/listinfo/python-win32
_______________________________________________ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32