• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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