How do to Interval timer

Sepi12:
Hello,

Im preatty new to this whole arduino coding thing..
I am building terrarium for chameleon which has humidity measurement and control and this is already working just fine. Now I am trying to figure out how to turn on water pump on every 1h for 3 seconds.
(chameleons do not drink from water cup so I need to spray water to leafs for short period which falls down to pump)

I have read and tried few guides, but I just can´t get my head around how to do timer which is re-occurring every X seconds for Y period of time.

Could someone point me to right direction?

The BlinkWithoutDelay sketch that comes with the IDE, is a timer that re-occurs every 2 seconds for 1 second of time. Just change the numbers...