How to run Robotarget in DragScript until an exact time?

Hello.
I use Robotarget without any issue.
I fix the beginning and End offsets, for example, 30 min.

But, like today, weather conditions forecast is bad from 01:00 UT.
Instead of keeping the system automatically closed and trying to reopen again when the conditions are good until the end of the night, I prefer finishing the Dragscript at 01:00.

When I run Robotarget, the only solution I find is playing with the Offset End time, but I have to calculate how many hours in advance I have to finish. In minutes.

Is there a "Do while time < 01:00 Robotarget " or “Do until 01:00 Robotarget”?

I found “DO IF TIME BETWEEN”, but before trying it, is this option exiting automatically from Robotarget?
Is Robotarget checking this condition?

Thank you
Fernando

RoboTarget run all night as you indicated in the configuration.
Weather conditions is not linked to RoboTarget but to the Emergency events.
If you want to finish at first exit events do not restart the dragscript and shutdown voyager, then wait the restart of the PC in the morning.
Otherwise put a DO IF TIME BETWEEN at dragscript start before proceed with the next blocks

1 Like

Thank you Leo.
But if I prefer just working for example just 3 hrs. (not related to a weather condition), just because I want to finish at that time, the only solution is playing with Robotarget End Offset.
If I want Robotarget finishing at 1:00, I can fix the EndOffset for example 300 min (if the Astronomical end of night is f.ex. at 6:00).

It’s OK. Just was wondering about that.

Many thanks
Fernando