Dart is a programming language developed by Google that can be used to build web applications as well as standalone applications.
FireDaemon Pro. This allows you to start and run the script automatically when Windows boots and before login. FireDaemon Pro also allows you to start multiple instances of the application, monitoring them and automatically restarting those instances in the event they crash. FireDaemon Fusion can also be used to manage your Dart Script service, plus other Windows services via your web browser.
Dart Script Setup Under FireDaemon Pro
Step 1: Download Dart Script
- Download and install Dart Script from here. By default its installed to "C:\tools\dart-sdk"
Step 2: Configure Dart Script
Create a directory to store your Dart scripts, for the purposes of this guide we'll use "C:\Dart Scripts"
Create or download your Dart script but first, run it from the command line to ensure it works. If your script doesn't work from a command line, then it won't work as a service with FireDaemon Pro.
Set Up Dart Script Script as a FireDaemon Pro Service
Download and install FireDaemon Pro. Double click the FireDaemon Pro icon on your desktop, then click on the New (i.e. +) button in the toolbar (or type Ctrl + N) to create a new service.:
Next, click on the Lifecycle tab. Set Shutdown By to Forceful Termination and check "Console Program".
Step 6: Verify that Dart Script is Running Correctly
The Dart Script's status can easily be checked on the main FireDaemon Pro Services List - look for a Running Status value and a numeric Process ID (PID) value.
If the service's Interact with Desktop setting is enabled, Dart Script status can also be verified by switching to Windows Session 0 to view Dart Script's messages.