开发者

why TriggerComplete event not firing?

开发者 https://www.devze.com 2023-02-09 07:43 出处:网络
When I\'m executing the context.Scheduler开发者_Python百科.TriggerJob(jobName, \"jobGroup\"); in the (TriggerComplete) event of ITriggerListener after completing the corresponding job this event is

When I'm executing the

context.Scheduler开发者_Python百科.TriggerJob(jobName, "jobGroup");

in the (TriggerComplete) event of ITriggerListener after completing the corresponding job this event is not raised again ? whats the problem of executing a job in this event ?

Please help


I'd need to see the code that you are using to trigger the job, however I think that the TriggerComplete event fires only when the Trigger successfully triggers or BEGINS executing the job. That means, if you add the TriggerListener after the job is executed, you likely will not see the TriggerComplete event fired.

Verify that you have added an appropriate TriggerListener to the scheduler well before the actual scheduled trigger time.

0

精彩评论

暂无评论...
验证码 换一张
取 消