Running ImportClient
Manually
In its simplest form, ImportClient can be executed like this:
This will start ImportClient (import-client-xxxx.x.x.jar) with a memory allocation (Xmx) of 512 Mb and a settings file (settingsFile.txt). This is especially useful when troubleshooting or testing a configuration before adding it to a scheduled task / job.
This command is often written in a run.cmd or run.sh that is then used in a scheduled task or job in cron. ImportClient does not in itself handle any scheduling.
Scheduled
This is a basic example of how a script file used to run ImportClient as a scheduled task / job can look like.
Windows Scheduled Task template
Feel free to save this example to a XML file and then import it to Windows Task Scheduler. If you do so, you need to replace the string ${ImportClientRoot} in Command and WorkingDirectory with the full path to the folder where you script and ImportClient client lives.
Considerations
Consideration - Memory usage
Depending in the amount of data collected from the source you might need to increase the value for Xmx. There is no easy way to know how much memory is needed by ImportClient as is depends on how mush data each item collected has and how many items are collected.