Stop all jobs at a given time

Hello everyone,

I am working with a client who has only one license to run unattended robots. He wants to ensure that a really important process starts at a specific time (let’s say 12 PM). Is there any way to make sure that all running processes stop so that this crucial process can start at 12 PM? He has a lot of processes that delay each other, so triggers are not the answer i think…

@yuri.santos,

If your other jobs on the machine have short AHT duration then just change the priority of your high priority job to Critical. This will ensure that whatever would be the queued jobs there your priority job will be trigger as soon as machine is freed from earlier execution.

image

Another way would be using API to identify running job and stopping it using another bot. Downside of this would be, you will have to keep this another machine also running to kill that job.

Thanks,
Ashok :slight_smile:

It cannot be “as soon as the machine is freed from earlier execution.” It has to be at a specific time.

And regarding running another bot, you would need an additional license, correct?

@yuri.santos,

Yes, additional license required.

How many bot’s runs on the same machine?

If they are limited then, you can add a logic in Get Transaction Data state of other bots to check if it’s time for high priority job. If it’s time then it will not pick the next transaction and end the execution.

Thanks,
Ashok :slight_smile:

I think it would be a really cool feature to be able to stop all bots at a specific time. Alternatively, it would be great to have a setting in the trigger options to specify an end time for the bot.

Regarding the logic behind ‘Get Transaction Data,’ it would require too many resources to change all the automations, many of which have items that could take a significant amount of time. Additionally, many of them have excessive runtime in the end process state or in the initial state, for example. Currently, I don’t see a good solution for this.

@yuri.santos,

Unfortunately no out of the box solution but it would be good to have.

Good luck!

Thanks,
Ashok :slight_smile:

You can set that up within your automations. Unfortunately the only thing in the trigger is to stop after a certain amount of time, and I agree that having a “stop at this time” would be useful.