Watchdog for Windows#
Download the files here:#
Watchdog Download
Poppler Download & install
Running Watchdog#
Watchdog can run in headless mode as a servcie and in UI mode.
The UI mode can be used to make changes to the configuration file watchdog-config.yml
.
To start the Watchdog UI mode in a cmd window opened with admin rights, enter
1 |
|
Folder configuration#
First configure the following folders:
- Read folder → documents that should be uploaded to DOC² have to be in this folder
- Error folder → documents that ran into an error during the export are saved here
- Processed folder → successfully processed documents are stored here
To configure these folders, you must select the Settings folder and press Browse
for each folder.
Select an environment to which your documents should be exported.#
The following options are available:
DOC² → the documents will only be exported to DOC²
INFOR OS → here WATCHDOG checks if there are export orders for Infor OS On-Premise issued by DOC² and then the document is exported to IDM.
There are two more specific parameters:
When exporting to Infor OS three document types are available.
API Key#
This key can be found under the Integration settings of your DOC² account.
Barcode splitting#
If you want to process documents in which several documents with barcodes are combined into one PDF, these are separated by the barcode using the following setting when uploading to DOC².
When enabling barcode splitting, be sure to install Poppler, otherwise Watchdog will not be able to process the documents.
Install poppler#
When enabling barcode splitting, be sure to install Poppler, otherwise Watchdog will not be able to process the documents.
e.g. C:\Users\SomeUser\Downloads\poppler-0.68.0_x86\poppler-0.68.0\bin
Headless Watchdog#
To start Watchdog in headless mode:
- Open a cmd window with admin priveleges
cd
directory where the Watchdog.exe is located, e.g.C:\Users\Administrator\Documents\watchdog
-
execute these commands:
-
1
Watchdog.exe install
-
1
Watchdog.exe start
-
Optional - To enable Autostart on reboot:
1
Watchdog.exe --startup delayed install
-
If Watchdog can't find the config file or the configuration is invalid it will start in UI mode for you to make adjustments to the Settings. Save the changes, close the UI and run
1 |
|
Stopping and Uninstalling Headless Watchdog#
To stop the Watchdog service run:
1 |
|
To remove the Watchdog service:
1 |
|