• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

How to restart IIS every night ?

JTRipper

Regular Pleskian
Due to a buggy code in some .NET pages on one of our servers (Plesk 8.1.1 on win 2k3)
I need to restart the IIS service every night to free up the memory
occupied by the process w3wp.exe.
So I started to use a Task Scheduler of Plesk with:
c:\Program Files\SWsoft\Plesk\admin\bin\websrvmng.exe --restart as the parameter.

It runs OK, but after running the task the Plesk Control Panel on the server does NOT come UP.
After that, from the command line :

cd c:\Program Files\SWsoft\Plesk\admin\bin\websrvmng.exe --status

Is there any other way to restart IIS via Plesk's Task Scheduler ?

Thanks in advance for any advise.

returns "is running" but it is really NOT.

I have to run it manually every morning from the desktop's systray.

Strange, but the same task is running fine on Plesk 7.5.4..

Is there any other way to restart IIS via Plesk's Task Scheduler ?

Thank in advance for any advise.

Jack
 
Back
Top