Automatise the data upload

If you are working on a Windows environment you can use the Windows Task Scheduler in order to automatise the data upload. In order to achieve this, you should follow these steps:

Step 1 - Create a bat file

You should create a bat file in order to call the command line procedure generated in Updating data

For example, if your Knowledge Base is generated in Java, the bat file would be similar to:

AutomatiseImg1

You can download a .bat example from here.

Step 2 - Create the task in the Task Scheduler

Create a default task by following these steps: https://docs.microsoft.com/en-us/windows/desktop/taskschd/task-scheduler-1-0-examples

While defining the task you should use the bat file generated on the previous step:

AutomatiseImg2

You can define when the task is going to be triggered according to your business needs.

You can download a sample task from here.  In this example, the upload process will be executed daily at 7:00 pm. This task can be imported while creating a new task in the Windows Scheduler so you will have a ready-to-use sample task.

Using the Windows Task Scheduler is just an example so you can see how easy is to automatise the data update, but you can also do it by creating a script or using any other task automation tool.