script not work after rebooting the router

When ever i reboot the router or it get get rebooted with some reason . my schedule stop working . i have to manually set the time again and it start working again . i am attaching this image to show what is the problem i am facing
mikrotik.JPG

Try to have your time and clock set. Use ntp.

u need make a script to update the oclock when reboot your battery is died

http://wiki.mikrotik.com/wiki/Manual:Scripting-examples#Allow_use_of_ntp.org_pool_service_for_NTP

I also posted simpler versions a while back. http://forum.mikrotik.com/t/how-do-you-make-sntp-server-and-client-actually-work/54140/1 and http://forum.mikrotik.com/t/date/48636/1