Scheduling ILST to run as a task

Scheduling ILST to run as a task

The ILST can be run as a scheduled task either on a Windows machine or on the domain controller, letting an administrator automate the sync. In order to run the sync as a task, the first step is to create a .bat file that will run the tool in the directory in which it's located. 

  1. Navigate to the directory containing the ILST and its supporting files.
  2. Create a new file in the folder, with the .bat extension.
  3. Edit that .bat file with a text editor and add the following lines:

    cd C:\location\of\the\tool
    ILST.exe
    
  4. Save the file.

With the file created, a task can be set up to run the .bat file and automate the sync.

  1. Open Task Scheduler. For more information on how to access the Task Scheduler, see Microsoft documentation on Start Task Scheduler
  2. Select the action tab and select “Create a Task”
  3. Select the General tab and enter a title and description for the task. 
  4. Set up a Trigger by determining the time and frequency the task will run. 
  5. Set up the Action that will be triggered when the specified time occurs. The action should run the .bat script that we created earlier.
  6. Make sure you save the task and close the Task Scheduler.

Tips and Tricks

  • Test the .bat file by opening it directly and ensuring that the sync process begins. The ILST config should be set to set to test mode when performing any such tests.
  • It can be useful is to delete or rename any logs and output csv files. This will make it easy to check if the tool has successfully run and is generating logs.

Viewed 115 times