Inject or Triggers at specific time

Dear Node-red experts,

I want to trigger my functions or node at specific time, to be exactly, I need to computer something at every HOUR and every DAY.
If time is at [00:00:00, 01:00:00,02:00:00 and so on and so forth], I want my function to run at that specific time.

Same thing goes on every day situation, I want that everyday my function runs.
I am thinking that I can do this by simple have Inject node w/ interval and use a function node to check the current time.

But I am looking if someone has a better solutions for this?

Thank you very much.

With kind regards,
Henjoe

With cron you have almost unlimited options.

For simple regular intervals as you describe you can use an Inject node set to fire every hour and select Interval Between Times and time range 00:00 to 00:00 every day and that will fire every hour on the hour.

Thanks for all your suggestions!

Wiill try this one.

With kind regards,
Henjoe

Hello Steve,

I think this is the best fit for my applications.
By the way, thank you for your wonderful contributions.

With kind regards,
Henjoe

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.