Run as Service

<< Click to Display Table of Contents >>

Navigation:  Installation and Server Settings >

Run as Service

You have the option of running ResSched as a normal Windows program or as a Windows service. We strongly recommend you leave ResSched running as a normal Windows application during the setup and testing stages of your implementation. Once you are confident ResSched is operating correctly for your organization, you can run it as a service.

 

Running as a service has these advantages,

 

1)ResSched will be loaded automatically when Windows starts up even if there is no user logged on.

 

2)ResSched is not associated with any particular user log on.

 

3)ResSched does not take up space on your Windows Task Bar.

 

4)ResSched can be set to restart automatically if it closes for some reason.

 

 

But there are some disadvantages as well:

 

1)There is somewhat more administration to using ResSched as a service.

 

2)Administrators cannot see if ResSched is running without using the Windows Service Manager or Task Manager.

 

3)You must stop the ResSched service and run ResSched as normal application anytime you change ResSched server settings.

 

4)You cannot see the Performance stats or log entries for the period ResSched is a service.

 

 

To install ResSched as a service.

 

Open the Windows Command prompt as Administrator, and enter:

 

sc create ResSched binpath= "yourpath\ressched.exe" displayname= ResSched start= auto

 

"yourpath" is the full path including drive letter to the folder you installed ResSched on originally.   The Command prompt should display sc CREATE Success, or the reason it was unsuccessful.

 

To add a description to the service,  use the Command prompt again to enter:

 

sc description ResSched "Run ResSched Server"

 

 

Use the Windows Services to start and stop the ResSched service, and to set options for restarting if ResSched has an unplanned close.

 

 

To remove ResSched as a Windows service,  use the Command prompt to enter:

 

sc delete ResSched