FileWatcher continuously monitors one or more folders for new files. When new files arrive, FileWatcher then triggers a custom action, such as running a second program with the new files. The application can be run as a Windows Service using FireDaemon Pro, which allows you to have the application start automatically at boot prior to login, start multiple instances of the application and more. This HOWTO will show you how to set it up. You can also use FireDaemon Fusion to manage FireDaemon and other Windows services via a web browser.
FileWatcher Setup Under FireDaemon
Download the FileWatcher software from the official website. If you are evaluating the software, download FileWatcher from here. If you already have a FileWatcher license, you can download FileWatcher from the private members area.
Run the installer. By default files are installed to C:\Program Files (x86)\DataMystic\FileWatcher on 64-bit Windows. On 32-bit Windows, the files are installed to C:\Program Files\DataMystic\FileWatcher.
Run and set up FileWatcher as you see fit. Save the config to a file and remember the path to the file, as it will be needed later.
Download and install FireDaemon Pro into the directory of your choice, typically C:\Program Files\FireDaemon.
Next start the FireDaemon GUI from the desktop shortcut. Click on the "Create a new service definition" button in the toolbar (or type Ctrl+N) and enter the information into the fields as you see below. Adjust the paths to suit your installation. Note the required parameters.
The most important field on the tab is the Parameters. The Parameters load a specific configuration and start checking the moment the service is started.
Here’s the full parameter list you should have:
/f="C:\Some Path\settings.fwx" /g
- /f="c:\Some Path\settings.fwx" loads a settings file. Replace "c:\Some Path\settings.fwx" with the path to the settings file you created earlier.
- /g begins watching immediately when the FileWatcher service is started. If this parameter is missing, FileWatcher will not start checking when the service is started.
Now click on the Settings tab. If you DON'T want to see File and Folder Watcher running, uncheck the Interact with Desktop check box & select “Hidden” from the “Show Window” dropdown. You should run FileWatcher as the user you installed it as. In the Logon Account field type your username (e.g. Administrator) and then enter the user's password twice in the Password and Confirm fields. This user must be a member of the Local or Domain Administrator's group. You can change the Process Priority to allocate more CPU time to FileWatcher or specify which CPU or core FileWatcher will run on (in the case of multi-processor, hyperthreaded or multi-core CPUs).
Now click on the OK button to install and start FileWatcher!