You'll have to deal with that problem an example of which is in #21.
In the meantime:
-
add a print statement after the Serial.begin(9600) so you can see if the system is restarting.
-
post the code that you are now using. You have surely made changes since your first post.
-
explain exactly what you are doing. It looks like you are setting a timers so a motor start at a particular hour (or minute) and switches off at a particular time, but you appear to be setting only one counter chiran.