How to execute Loop at certain intervals or period in 24 hrs ?

Hello
Basically i would like to know the code on how to water my plants about 3 times a day at certain intervals/ period of about 4-6 hours? Should i use a RTC ?

(deleted)

If your plants do not have a sense of minutes and seconds then you do not need an RTC IMHO :slight_smile: