Scheduling Cycle executions

Cycle may be scheduled to run by using Windows Task Scheduler without having to manually write to the command line.

Figure: Windows Task Scheduler
Windows Task Scheduler

To use Windows Task Scheduler to schedule Cycle to run based on a set time or event, follow these Steps:

  1. Open Windows Task Scheduler.

  2. Create Task.

  3. In the Create Task window that appears give the new task a name and description in the General tab. Note: If you are using Windows 10, click "Change User or Group..." and enter "SYSTEM" into the "Object name to select" box.

  4. On the Triggers window, set a time or event to start the Cycle execution.

  5. On the Actions window, create a new Action. Set the Action to be "Start a program" and set the "Program/script" to be the location of where cycle-cli.exe is installed. Add arguments in the same format as the arguments for Cycle-CLI. In order to bypass the Cycle username and password when executing the scheduled task, you must use the "token" argument for setting your Personal Access Token. Set the "Starts in" field to be the working directory the execution will start from and where log files will be created.

Note: Only one instance of Cycle can be run on a single server.

results matching ""

    No results matching ""