Restart Scheduler

Matthew Butler asked on November 10, 2023 10:02

We've had a the scheduler hit a SQL timeout exception and stop a couple of times in the last few months, and would like to put a Azure function in place to check and restart. I believe there is a url that will re-trigger the scheduler.

Any thoughts?

Recent Answers


Brenden Kehren answered on November 13, 2023 14:52

There is not a URL that will restart the scheduler. There is a URL that will allow you to get an HTTP response in order to keep the scheduler alive. The scheduler engine is based on the IIS App Pool the site is running against. If the app pool shuts down or times out, the scheduler will not continue to run because the site is no longer running.

You can use this URL to perform what I mentioned above:

domain.com/CMSPages/Scheduler.ashx

The page should give you the response of SCHEDULER_PING_CONTENT_AVAILABILITY in the body of the html.

0 votesVote for this answer Mark as a Correct answer

Matthew Butler answered on November 13, 2023 15:01

The app pool is still running, but the SQL timeout on the webtasks appears to prevent the scheduler from running.

If I restart app it works. But I think I called a url that got it going again as well. It could have been domain.com/CMSPages/Scheduler.ashx

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.