# Time range for enabling a Group

**URL:** <https://discourse.pi-hole.net/t/time-range-for-enabling-a-group/38260>\
**Category:** General\
**Created:** [September 11, 2020, 11:51pm UTC](https://discourse.pi-hole.net/t/time-range-for-enabling-a-group/38260 "2020-09-11T23:51:04Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![jfb](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/jfb/32/4332_2.png) [@jfb](https://discourse.pi-hole.net/u/jfb)\
**Post date:** [September 11, 2020, 11:57pm UTC](https://discourse.pi-hole.net/t/time-range-for-enabling-a-group/38260/2 "2020-09-11T23:57:55Z")

</div>

Existing feature request:

> [@Timed DNS queries, block DNS based on time](https://discourse.pi-hole.net/t/timed-dns-queries-block-dns-based-on-time/3495):
>
> Hi pi-hole Firstly aplogies if I'm not doing this correctly Title timed DNS queries Block DNS based on time We have broadband which is limited during the day, and unlimited at night We currently block apple update servers all the time Would be helpful to have a special list call it a grey or yellow list Which would block always except for certain times I would propose having a general time setting and allowing domains to be turned on /off on the fly I am a developer so would be happy to…

How to do this with cron.

> [@Activate group with cron](https://discourse.pi-hole.net/t/activate-group-with-cron/32660):
>
> Hello, I'm looking for a way to activate a group from 9 a.m. to 6 p.m. and have it deactivated from 6:01 p.m. to 8:59 a.m. with school at home I want to block social media during school hours. Thank you in advance for your help.

---

_[View the full topic](https://discourse.pi-hole.net/t/time-range-for-enabling-a-group/38260)._
