Task scheduler of Foresight Analytics Platform can be automatically started on Windows OS startup without logging in the system. The task scheduler can be installed to any local network server as a Windows OS service.
A Windows OS service is an application that automatically runs at Windows startup without a user being logged into the system.
To create a task scheduler service, start the command line under administrator and run the following command:
sc.exe create FPScheduler binpath= "C:\Program Files\Foresight\Foresight Analytics Platform 9.2\Scheduler.exe" start= auto
Where:
FPScheduler. Task scheduler service name. Task scheduler service name can be changed.
binpath. Full path to the Scheduler.exe file.
start= auto. Type of application start: an application which is automatically started whenever the system is reset even if no user has logged in.
NOTE. If there is no space between the parameter (binpath or start) and its value, for example, start=auto instead of start= auto, the operation fails.
The following message is shown if the command has been successfully executed: [SC] CreateService: success.
To start the created service, run the following command:
net start FPScheduler
The following message is displayed if the command has been successfully executed: The FPScheduler service is successfully launched.
To delete a task scheduler service, run the following command:
sc.exe delete FPScheduler
The following message is shown if the command has been successfully executed: [SC] DeleateService: success.
The task scheduler can be started as a service using Linux initialization system.
Example of settings in various initialization systems:
Settings for OS with the Upstart initialization system
Settings for OS with the systemd initialization system
See also: