Speeding up GoDaddy Shared Hosting

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:


Type Path
Executable C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
Argument -c “(new-object system.net.webclient).downloadstring(‘http://[domain.tld]\[path]\[file_name]‘)”


Type Path
Executable C:\Program Files (x86)\Parallels\Plesk\Additional\PleskPHP54\php-cgi.exe
Argument G:\PleskVhosts\[domain.tld]\[path]\[file_name]


Schedule whatever code works for you as a new scheduled task and make sure it runs every N minutes to beat the idle timeout.

Leave a Reply

Your email address will not be published. Required fields are marked *