I'm trying to understand why the NotifyComplete() method gets called even after the 25 second limit for a periodic task execution.
I understand that if notifyComplete() is not called befere 25 seconds, the task is killed, but this is not what is happening. NotifyComplete() is still get called after 60 seconds.
protected override void OnInvoke(ScheduledTask task)
{
Thread.Sleep(60000); // 60 Seconds
NotifyComplete();
}
Any Ideas?, I'm missunderstanding in some way the way the background agents work? Thanks!