free internet access for a specific time

Hi There
Can I set my pppoe users’ profile to use their account for specific time(eg.12:00 am to 6:00 am daily ) without loosing their traffic?
does it need a script code?
tell me please.
Thanks a lot

it cannot be done in a simple way.

create PPPoE server that authenticates against RAIDUS server, then there, set up scripts, that user is enables/disabled at certain times. YOu can send from RAIDUS disconnect message, and prior to that disable user log there. That will result in PPPoE disconnect, and when user tries to reconnect login will fail.

The main reason for all this is, that when times runs out, you cannot disconnect reliably the user., Therefore you have to use RADIUS.

I actully use this benefit with my ADSL account in my country.I think My ISP use scripting with mikrotik. It might be somthing like this:
they count all teraffic that I use from 12:00 am to 6:00 am , and then append it to my teraffic limitation