# 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:** 2\
**Page:** 1

<div class="post-metadata">

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

</div>

Hi, I currently block various domains for my kids during the school day (youtube, minecraft, steam, etc.). I have my kid's devices in a group and manually toggle the group on/off every day, which is tedious. I'd like the ability to set a time range to enable the group from, for example, 8am - 3pm. Could the awesome Pi-hole devs implement such a feature?

Thanks!

---

<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.
