avoid recycling at specific times when auto recycle is set

Purinder 21 Reputation points
2020-12-04T08:02:34.19+00:00

In IIS when we have IIS recycle set to every 2 hours, can we avoid the recycling at a specific time like 16.00 UCT as our major job runs at this time and we don't want IIS to recycle the app worker process

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,161 questions
0 comments No comments
{count} votes

Accepted answer
  1. Sam Wu-MSFT 7,036 Reputation points Microsoft Vendor
    2020-12-07T06:52:58.907+00:00

    Hi @PurinderChawla-0738,

    In the iis application recycling settings, it is impossible to directly avoid recycling at a specific time.

    But you can try to select Specific Times, and in the corresponding box type a time at which you want the application pool to recycle daily. here you can specify a recycling every two hours to avoid 16.00 UCT.

    45632-5.png


    If the answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our  documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

0 additional answers

Sort by: Most helpful