I’ve recently had the need to use GoDaddy Shared Windows Hosting for a website. In use I’ve noticed the website can load slow after periods of no one using it. Usually a simple enough solution, I just go into IIS and adjust the Application Pools Idle timeout. Well GoDaddy doesn’t give direct access to the Application Pool the website is using through Plesk; they do however allow you to setup scheduled tasks. While doing a quick search I came across this:
Code saved below for posterity:
|Argument||-c “(new-object system.net.webclient).downloadstring(‘http://[domain.tld]\[path]\[file_name]‘)”|
|Executable||C:\Program Files (x86)\Parallels\Plesk\Additional\PleskPHP54\php-cgi.exe|
Schedule whatever code works for you as a new scheduled task and make sure it runs every N minutes to beat the idle timeout.