Support > Forums > OpenBots Studio > Task Scheduler in OpenBots Studio.

Task Scheduler in OpenBots Studio.

Thamali Jayaweera

  • Reporter
  • Calender Icon July 27,2022 at 11:11 AM

Hi Team,

Appreciate your kind assistance on the below requirement.

We attempted to schedule a process by using the "Task Scheduler" option of OpenBots Studio via Windows Scheduler. As per our understanding, we created a batch file including the 'OB Application Path' and 'Script Path' as below, -> "C:\Program Files (x86)\OpenBots Inc\OpenBots Studio\OpenBots.Studio.exe" execute --file "D:\OpenBots Studio\OB Scripts\NewTest\Main.obscript)

However, this batch file did not execute accordingly. Hence, please let us know if there is any specific steps to be follow up.

Thanks, Thamali Jayaweera.

This forum has 314 topics, 681 replies, and was last updated 4 days ago by Support Agent

Kapil Mathpati

  • Participant
  • Calender Icon July 28,2022 at 3:25 PM

Hi Thamali Jayaweera

To schedule a project/process through OpenBots Studio you need to reference the project's Nuget Pckg file, Follow below steps:-

We leverage Windows Scheduler, and You can check if it was properly setup through Windows Scheduler.

  1. Go to the file actions and publish the project. This will generate a nuget pckg file on the indicated directory.
  2. Click on schedule manager under script actions.
  3. Choose the published project to schedule.
  4. Set the Start Date, End Date, Recurrence and Recurrence Frequency.
  5. Click on add button.
  6. You can check scheduled task under currently scheduled projects.

Important Note: Even though Studio scheduler can be used to automation schedule runs, we recommend using Assistant as your main execution tool. Assistant provides you the abiility to run and schedule your published automation through an easy to follow ui. Assistant can be configured to execute attended and unattended runs. For unattended runs, a Server subscription is required. However, attended runs can be configured to run using local resources only.

You are not authorized to reply, please click here to login and add your reply to this topic.