Running the Agent as a Windows Service (DAI Run Agent)
On Microsoft Windows machines, you can configure the DAI Run Agent ("Run Agent") to run as a service. Running as a service enables the Run Agent to run continuously in the background even when users log on and off the machine. You can also run multiple Run Agent services on the same machine if the machine has sufficient memory and processing capability.
For information about the DAI Run Agent, see About Execution Environments and Agents. For information about DAI-supported Windows operating systems, see the Prerequisites page.
Managing the Run Agent with the Windows Services Manager
Once you create a service, you can administer it using the Windows Windows Services Manager (shown below) or using the Run Agent command (eggplantDAIRunAgent.exe
) at a command-line interface (CLI). Information about creating, starting, stopping, and removing services with the Run Agent command is provided below.
The Windows Services Manager lists the Name, Description, Status, Startup Type, and Log On As information about each service. It also provides the options to start, stop, and configure how you want the service to start (Automatic or Manual), including setting its startup to be dependent upon the DAI Server service starting, if you plan to run your Run Agent and DAI Server as services on the same machine. For more information about Windows service controls, see Introduction to Windows Service Applications.
To open the Windows Services Manager:
-
On your Windows machine, type
services
in theType here to search
field in your taskbar. The Services app should be suggested. -
Click the suggested Services app. The Windows Services Manager shown below opens.
The Windows Services Manager showing the DAI Run Agent service with the default LocalSystem as the Log On As account