Skip to content
Discussion options

You must be logged in to vote

Self-answered:

after tedious testing I verified the following return codes:

  • 267009 The task is currently running
  • -2147020576 - The scheduler didn't start a new task because there's already an instance of this task running. According to the Windows documentation this was supposed to be 2147750687 but not on our Windows 2016 Server and -2147020576 is also not a two-complement of 2147750687. I gave up trying to understand this.

So for my needs I trigger critical if the task

  • is running longer than 50 Minutes,
  • OR the exit code is negative (catches any weird exit code)
  • OR the last schedule is longer ago than 70 minutes (60 Minutes is our default schedule and I add 10 Minutes to avoid false p…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by k-tf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant