Steve-Mcl / node-red-contrib-cron-plus

A flexible scheduler node for Node-RED (featuring full dynamic control, sunrise/sunset by location and Timezone support)
MIT License
45 stars 12 forks source link

90 second timer #45

Closed ger19wmu closed 2 years ago

ger19wmu commented 2 years ago

So this is perhaps me just not using the node properly....but I am trying to trigger a message every 90 seconds in the month of December. When I tried to set it for every 1.5 minutes the node reported an invalid expression so i switched to 90 seconds. Now it says I have a good expression and that it will send at 90 seconds, but it still sends at 60 seconds....even in the expression builder it shows it will send at 60 seconds in the example times: cron

I can confirm that even as shown, it does send a packet every 60 seconds rather than 90....is this a potential bug or am I just configureing this totally wrong!? Thanks for the help!

Steve-Mcl commented 2 years ago

Hi @ger19wmu

This is a limitation of cron.

What you can do instead is two 3min timers 1.5mins apart...

image

image

then you get a msg every 90 secs.

ger19wmu commented 2 years ago

That works!! Thanks for the quick reply and help solving the problem!!! Much appreciated!