HomeGuidesAPILog In

Install Scheduler as a Windows Service

The SmartIQ Scheduler can be installed as a Windows Service on any Windows machine with access to the SmartIQ database. It is usually installed on the same web server where SmartIQ Produce is installed.

Navigate to the IntelledoxScheduler folder on the SmartIQ web server. For example, C:\inetpub\wwwroot<>\IntelledoxScheduler

Open the appsettings.json file in a text editor and set the connection string property to point to the SmartIQ database. This should be the same as the connection string defined in the configuration of Manage and Produce web applications.

Launch Command Prompt as an administrator.

Enter the following command to install the service, replacing {SchedulerPath} for the actual path to the SmartIQ Scheduler directory.

%windir%\system32\sc create IntelledoxScheduler binPath= {SchedulerPath}\IntelledoxScheduler.exe start= auto

Enter the following command to start, stop or uninstall the service

%windir%\system32\net start IntelledoxScheduler
%windir%\system32\net stop IntelledoxScheduler
%windir%\system32\sc delete IntelledoxScheduler

The Scheduler service can also be maintained in the Services application.



Install Multiple Copies of the Scheduler

It is possible to install multiple versions of the Scheduler on the same web server, particularity useful when one web server hosts multiple Environments by changing the name used from ‘SmartIQScheduler’ to another name, e.g. ‘SmartIQScheduler_EnvironmentName’.
Please note that if you change the name, the upgrade process will not be able to automatically stop before it starts or restart the service after it completes. In this case you must manually stop the service before upgrade, and then restart the service after upgrade.