At certain times of day, or even days of the week you may wish to prevent users from being able to deploy an application. For example, on a Friday afternoon, or during the weekend when you might not be able to provide the same level of support as you would during normal working hours.

## Deployment availability

With [DeployHQ](https://www.deployhq.com), you can set up times where deployments are restricted. During these periods, non-administrator users will not be able to make a new deployment and automatic deployments will be rejected. Only administrators will be able to make a new deployments but they will see a warning.

Restrictions will be applied during the time zone configured in your account settings (found in **Settings** -\> **Access and Account** ).

![Timezone](https://blog.deployhq.com/attachment/b6e4e1a3-9f9c-4aff-bb11-c9c774ad62e3/TUdb2q-Z.png)

## Setting up deployment restrictions

To set it up, head to the **Settings** tab at the top of the screen, then **Deployment Availability** on the left hand side.

![Deployment times](https://blog.deployhq.com/attachment/0a357117-3149-4990-b3de-3e159a7cd5a5/Z7c8Ruj.png)

You'll find each weekday listed in order from Monday-Sunday, and you can drag the sliders to the left or to the right to change the available times for your deployments for each day. You can drag the sliders all the way to the left or to the right on a given day to fully restrict them.

## Deploying during restricted times

As an administrator, when trying to deploy during a restricted time period you'll see a warning:

![Admin warning](https://blog.deployhq.com/attachment/a3b61011-4d82-4f5a-aa0e-7ff65c43f158/Kyk-HZbs.png)

But you'll be able to continue your deployment if you wish.

As a standard user, a warning will be displayed, and if you attempt to deploy a second message will be shown:

![User warning](https://blog.deployhq.com/attachment/dccac6c9-4632-4549-944e-8bea8c052c8c/p-PAv-S0-F.png)

Any automatic deployments triggered during a restricted time period will simply be rejected.

If you have any questions about this feature, or any other aspect of the [DeployHQ](https://www.deployhq.com) service, please [let us know](mailto:support@deployhq.com).

