[Win32utils-devel] win32-taskscheduler and task events
djberg96 at gmail.com
Wed Jan 15 12:53:49 UTC 2014
On Tue, Jan 14, 2014 at 6:25 PM, Heesob Park <phasis at gmail.com> wrote:
> 2014/1/15 Daniel Berger <djberg96 at gmail.com>:
> > Hi,
> > I was looking at this old issue:
> > I was trying to implement it in the ole branch simply by adding the
> > to the case statement around line 634 in taskscheduler.rb, but it doesn't
> > seem to work right. It doesn't fail, it just sets the modification
> > type instead of what I expect.
> > I guess the first thing that confuses me is why our values are one
> > than the TASK_TRIGGER_TYPE enumeration. The second thing I don't
> > is why the values for TASK_EVENT_TRIGGER_ON_IDLE,
> > TASK_EVENT_TRIGGER_AT_SYSTEM_START and TASK_EVENT_TRIGGER_AT_LOGON don't
> > work properly. Is it possible to support those?
> First, our values are not just one grater than the enumeration but
> used for defined Trigger.Type property.
> Second, what is your added code?
> The proper code is like this:
> when TASK_EVENT_TRIGGER_ON_IDLE
> type = 6
> when TASK_EVENT_TRIGGER_AT_SYSTEM_START
> type = 8
> when TASK_EVENT_TRIGGER_AT_LOGON
> type = 9
I was looking at the wrong information, sorry. I've added your code, thanks!
I think it's about ready to be released.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the win32utils-devel