Rebooting mikrotik in certain time and turn on without resetting whole counters

I have a little of problem rebooting Mikrotik in certain time and turning on in so certain time.
What I have to make a script?
Sometimes I forgot turning off the mikrotik routerboard when no used in the work time

create a schedule and excut script , like this one (instead of reboot, you shutdown)
http://forum.mikrotik.com/t/script-to-reboot-router-daily/17376/1

don’t think you can schedule it to switch on again.
however, you can schedule it to disable all it’s ports and enable again.