I use cron+
a bit and am curious if there is a benefit to using it in this scenario:
Two dates in a year.
One to turn off and one to turn on.
Would two inject
nodes be better or one cron+
node?
I use cron+
a bit and am curious if there is a benefit to using it in this scenario:
Two dates in a year.
One to turn off and one to turn on.
Would two inject
nodes be better or one cron+
node?
I wasn't aware that you could specify dates in inject? You can only specify day of the week (e.g. every monday at 11am) and time with an inject node. With cron+ you can specify a date, i.e. 12th of december 2025 at 11am.
I don't understand how an inject node could even fulfil the requirements.
Since node-red V3, under the hood, they both use the same Cron lib.
Performance wise: zero difference.
Visual difference: Cron node can do both schedules from one node and will display what time that occurs in its status.
Bottom line: if you already have cron-plus installed, use it or don't use it. If you don't already have cron-plus installed, just use inject nodes.
@gregorius
How right you are.
Oooops.
Well I guess that answers that question.
@Steve-Mcl
When I open the inject
node in 3.1.1 I don't see a way to set a date.
But thanks.
I missed the small fact you were talking about dates. No, you cannot set dates in the inject node. But under the hood they do use the same library.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.