Send a data on a specific time from NodeMCU to Node-Red via MQTT using RTC

Write code that in loop, reads the time, is the time the time to send, then send if not then do loop.