Run jobs in orchestrator when there is currently no jobs running

Hello Everyone,

I have 2 jobs in my orchestrator that are scheduled to run every Monday and Tuesday in a specific time. I have a process right now that I want to run in the orchestrator outside those schedules. Basically, I want this process to run whenever there are no jobs running and stop/pause during those schedules then run again after the scheduled process is finish running. May I know how or what is the best way to do this?

Create a batch(.bat file) script that will check if UiRobot is running or not.
Based on the condition, the specific job or jobs can be triggered.

Use this .bat or bach file to schedule using task scheduler.

Regards,
Digvijay Singh