# Every hour on the hour

**URL:** <https://discourse.nodered.org/t/every-hour-on-the-hour/6992>\
**Category:** General\
**Created:** [18 January 2019 20:40 UTC](https://discourse.nodered.org/t/every-hour-on-the-hour/6992 "2019-01-18T20:40:05Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![JoseGodinho](https://avatars.discourse-cdn.com/v4/letter/j/f4b2a3/32.png) [@JoseGodinho](https://discourse.nodered.org/u/JoseGodinho)\
**Post date:** [18 January 2019 20:40 UTC](https://discourse.nodered.org/t/every-hour-on-the-hour/6992/1 "2019-01-18T20:40:05Z")

</div>

Hello All

What is the best node to have an hourly inject on the hour inject.

Thank you  
JLG

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [18 January 2019 21:45 UTC](https://discourse.nodered.org/t/every-hour-on-the-hour/6992/2 "2019-01-18T21:45:05Z")

</div>

The inject node configured to repeat on the hour...  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/8/8fc0dd64229f3253d4169778767a9a5b994a1a0f.png)

---

<div class="post-metadata">

**Author:** ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Post date:** [19 January 2019 00:24 UTC](https://discourse.nodered.org/t/every-hour-on-the-hour/6992/3 "2019-01-19T00:24:35Z")

</div>

Does that inject on the hour or every 60 minutes?

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [19 January 2019 00:26 UTC](https://discourse.nodered.org/t/every-hour-on-the-hour/6992/4 "2019-01-19T00:26:52Z")

</div>

Well, easy enough to find out. 🙂

I would think that, since it starts at 00:00, they would both be the same thing.

---

<div class="post-metadata">

**Author:** ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Post date:** [19 January 2019 12:21 UTC](https://discourse.nodered.org/t/every-hour-on-the-hour/6992/5 "2019-01-19T12:21:10Z")

</div>

> [@TotallyInformation](#):
>
> Well, easy enough to find out

More intellucatal to discuss the meta-physics - it'd be cheating to actually try it out 🙂

I mean how can it run at all? There's obviously no time between 00:00 and 00:00 so at the most I'd expect it to maybe run once/day 🙂

And does it run once on node deployment or wait until next time the big hand is on twelve? 🙂

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [19 January 2019 14:18 UTC](https://discourse.nodered.org/t/every-hour-on-the-hour/6992/6 "2019-01-19T14:18:50Z")

</div>

Haha. Well life is discovery 🙂

It keeps you young.

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [19 January 2019 14:56 UTC](https://discourse.nodered.org/t/every-hour-on-the-hour/6992/7 "2019-01-19T14:56:53Z")

</div>

🤔And do you have a RTC (the pi doesn’t) and what time zone ?

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [19 January 2019 15:50 UTC](https://discourse.nodered.org/t/every-hour-on-the-hour/6992/8 "2019-01-19T15:50:22Z")

</div>

> [@zenofmud](#):
>
> And do you have a RTC (the pi doesn’t) and what time zone ?

RTC wont matter if you are using NTP. Most timezones are whole hours from UTC, it might be different if your TZ is 30 min offset though.

---

<div class="post-metadata">

**Author:** ![yaturner](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/yaturner/32/31106_2.png) [@yaturner](https://discourse.nodered.org/u/yaturner)\
**Post date:** [4 June 2020 09:40 UTC](https://discourse.nodered.org/t/every-hour-on-the-hour/6992/9 "2020-06-04T09:40:35Z")

</div>

I ended up writing a function node that got the time, checked the hour for 0 AND the seconds for 0, the second part is important or you spam triggers for a full minute every hour

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [18 June 2020 09:40 UTC](https://discourse.nodered.org/t/every-hour-on-the-hour/6992/10 "2020-06-18T09:40:38Z")

</div>

Closed on 18 June 2020 09:40 UTC

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