Scheduling a Router

I have a Buffalo WHR G 125 router with the default firmware. could you all tell me as how to schedule the router so that it logs off and then logs on at particular set time.
Please help me.
Regards