[K12OSN] Time based content filtering
ckollars9 at yahoo.com
Tue Sep 2 03:02:01 UTC 2008
> ... Has anyone figured out how to make DansGuardian do it's blocking
> business only at certain times? ...
It depends on which version of DansGuardian. All recent versions (specifically the whole 2.9 series) have time/day controls per list built right in. The following shows up in the comments of several of the list files:
# Time limiting syntax:
# #time: <start hour> <start minute> <end hour> <end minute> <days>
##time: 9 0 17 0 01234
# Remove the first # from the line above to enable this list only from
# 9am to 5pm, Monday to Friday.
If you have an older version (e.g. the 2.8 series), you may need to resort to some fanciness with a 'cron' job swapping in different DansGuardian configuration lists then restarting it.
More information about the K12OSN