I want to set to package which one is day that user can use internet only from 10am to 10pm and another one package is night which will allow user to connect from 10pm to 10am. I use ppp server to connect user and specified ip for every user.
you'll need to create the two queues. day and night for your user
create two scripts. one to enable day, disable night. And one to enable night, disable day.
In scheduler create the schedule that you want the scripts to run.