problem with Simple Timer program

Even if the code ran it would not do what you want.
When does the watering stop ?