That won’t really work for this. The start of the deployments is not an issue, the issue is preventing new deployments that are queued after a set time while not interrupting deployments that have already started deploying on a machine.
Example let’s say I have a deployment that normally takes 4 hours to fully deploy to all machines. Also I need to stop all deployments at a specific time and prevent new deployments after that time. Lets use 3:30PM as an example cut off for deployments. Scheduled deployments should know not to start new deployments after 3:30PM but at the same time Existing deployments that started at 3:00PM will also need to cancel deployment for any machines that are queued but have not yet started the deployment process.
another way to look at it would be, during the given time frame:
#1 Prevent new deployments
#2 cancel deployments to machines that are queued and have not yet started step 1 of the deployment.
#3 any machine that has already had step 1 of a deployment set to it will be allowed to continue its full deployment.