scheduler: allow the deployment intervals over the midnight