Website scheduled task IIS configuration, website task IIS configuration
Scheduled tasks on the website are generally essential. The specific implementation method is not described in detail in this article. If you need to know, please leave a message. This article describes how to set a scheduled task in IIS.
If a website is not accessed by a client within 20 minutes (IIS defaults to 20 minutes), the server automatically releases the application pool of IIS, and the scheduled task becomes invalid, if you want the application pool in IIS to be released for a long time, you need to adjust its parameters:
Open the IIS management interface, such:
Click "application pool", select the application pool to be set from the application pool list on the right, right click, and select "Advanced Settings..." to open the following interface:
Modify the value of "fixed interval (minutes)" and the value of "Idle timeout (minutes)" respectively (note: "Idle timeout (minutes) the value cannot be greater than the value of "fixed interval (minutes)". Set these two parameters as needed.