Skip to content

Scheduling CLI Execution Using Windows Task Scheduler

You can schedule the execution of your batch file using the built-in Windows Task Scheduler. This is useful for triggering automation at specific times or intervals.

  1. Open Task Scheduler from the Start menu.

CES-open-task-scheduler

  1. Click Create Task from the right-hand panel.

CES-create-task

  1. In the General tab, name the task (e.g., Run HuLoop Automation).

CES-general-tab

  1. Go to the Triggers tab:
    • Click New…

CES-new-trigger

    • For the Begin the task, select On a schedule.

CES-begin-task

    • Under Settings, choose the frequency (One time, Daily, Weekly, Monthly) and set the time and date.
Note: Additional fields may appear based on the selected frequency. Fill them out accordingly.

CES-task-settings

Enable Synchronize across time zones if your machine or scheduled task needs to run at a consistent local time, regardless of time zone differences. This is especially useful if the automation will run on machines in different regions or if the system time may vary.

    • Under Advanced settings, check Repeat task every and define the repeat interval (e.g., every 1 hour).

You can also configure additional options here based on your scheduling needs.

CES-advanced-settings-repeat-task

    • Click OK
  1. Go to the Actions tab:
    • Click New

CES-new-action

    • Select the Action as Start a program (if not already selected).

CES-start-program

    • Click Browse and select your batch file created earlier.

CES-browse-batch-file

    • Click OK
  1. Go to the Settings tab:
    • Set how the task should behave if it’s already running: You can choose an execution rule to define what happens if a previous instance is still running.
    • From the dropdown, select Do not start a new instance.

CES-settings-do-not-start-new-instance

    • Click OK. You may be prompted to enter your system credentials to run the task.
    • Enter your credentials and click OK.
    • Follow any onscreen instructions.

CES-enter-credentials

  1. To verify your scheduled task:
    • Select Task Scheduler Library from the left panel
    • Locate your task by name and confirm the configuration

CES-task-scheduler-library

Note: Ensure the machine is powered on and connected to the HuLoop server at the scheduled time to allow successful execution.

Last updated: Sep 09, 2025
Back To Top