I built a simple api grabber that can run every 10 minutes between 7 AM and 8PM and email me if there is a status change.
For some reason, it kicked off last night at midnight. I'm not really sure what I did wrong. Is there a "run all nodes" at midnight setting or something? I have it installed from the official docker.
I got the flogger thing setup, what a neat little node.
The first thing I saw was times not lining up between docker and node-red.
2021/03/09 12:10:00 INFO [msg.payload] 1615291800009
2021/03/09 12:20:00 INFO [msg.payload] 1615292400009
2021/03/09 12:30:00 INFO [msg.payload] 1615293000005
2021/03/09 12:40:00 INFO [msg.payload] 1615293600004
These were from 6:10, 6:20, so on.
I find an article to map /etc/localtime and /etc/timezone into the docker.
2021/03/09 12:40:00 INFO [msg.payload] 1615293600004
2021/03/09 07:00:00 INFO [msg.payload] 1615294800003
2021/03/09 07:10:00 INFO [msg.payload] 1615295400003
Glad it was something simple, thanks for the tip about flogger, that could have been a headache.