View Single Post
  #5   (View Single Post)  
Old 24th January 2012
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,318
Default

Quote:
Originally Posted by daemonfowl View Post
How to cut connection from network users at 10:00 pm everyday
Whenever a command needs to run at a specific time or at a specific frequency, think cron(8) or at(1) (BTW, "at" exists on Windows too...). How to configure the specificity of commands is done through crontab(5).

jggimi pointed out that pfctl(8) exposes the functionality to sever connections (how to do it...). Setting up a crontab entry will allow configuration of when it is intended to occur.
Quote:
Is there a possibility to single out saturday from this rule ?
Yes. crontab(5) is quite configurable.
Reply With Quote