# Cronplus node schedule(s) state at boot

**URL:** <https://discourse.nodered.org/t/cronplus-node-schedule-s-state-at-boot/82594>\
**Category:** General\
**Created:** [3 November 2023 22:08 UTC](https://discourse.nodered.org/t/cronplus-node-schedule-s-state-at-boot/82594 "2023-11-03T22:08:21Z")\
**Posts on this page:** 8\
**Page:** 2

<div class="post-metadata">

**Author:** ![biros](https://avatars.discourse-cdn.com/v4/letter/b/e47c2d/32.png) [@biros](https://discourse.nodered.org/u/biros)\
**Post date:** [5 November 2023 15:37 UTC](https://discourse.nodered.org/t/cronplus-node-schedule-s-state-at-boot/82594/21 "2023-11-05T15:37:29Z")

</div>

thanks for pointing this out, will do a search.  
but my setup will not be connected always to the wifi/internet, is that an issue in my case?

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [5 November 2023 16:06 UTC](https://discourse.nodered.org/t/cronplus-node-schedule-s-state-at-boot/82594/22 "2023-11-05T16:06:28Z")

</div>

> [@biros](#):
>
> my setup will not be connected always to the wifi/internet, is that an issue in my case?

How are you proposing to set the time? Unless you have an RTC it will lose the time each time you power off.

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [5 November 2023 16:10 UTC](https://discourse.nodered.org/t/cronplus-node-schedule-s-state-at-boot/82594/23 "2023-11-05T16:10:23Z")

</div>

> [@biros](#):
>
> not be connected always to the wifi/internet, is that an issue in my case?

If you want scheduled events - very much!

If you want reliable schedules you need WiFi or a [RTC](https://thepihut.com/blogs/raspberry-pi-tutorials/17209332-adding-a-real-time-clock-to-your-raspberry-pi)

Or get a Pi 5! _The Pi 5 now has an RTC_  
(good luck getting one any time soon tho)

---

<div class="post-metadata">

**Author:** ![biros](https://avatars.discourse-cdn.com/v4/letter/b/e47c2d/32.png) [@biros](https://discourse.nodered.org/u/biros)\
**Post date:** [5 November 2023 16:15 UTC](https://discourse.nodered.org/t/cronplus-node-schedule-s-state-at-boot/82594/24 "2023-11-05T16:15:01Z")

</div>

yup, was thinking about the rpi5 too, i've seen that has an rtc.  
anyway, thanks for the debug session guys, at least i know what's up now.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [5 November 2023 16:35 UTC](https://discourse.nodered.org/t/cronplus-node-schedule-s-state-at-boot/82594/25 "2023-11-05T16:35:36Z")

</div>

> [@biros](#):
>
> i get much more than 100 lines

What are they showing? Hundreds of node red related lines in a few minutes suggests there may be some other problem going on.

> [@biros](#):
>
> the message with the system time change detected is there with the 3 sec delay too.

The point was whether that line occurs before or after the boot inject after three seconds. If it had appeared before the inject then it would not cause a problem. If after then it might cause a problem.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [5 November 2023 16:38 UTC](https://discourse.nodered.org/t/cronplus-node-schedule-s-state-at-boot/82594/26 "2023-11-05T16:38:14Z")

</div>

There is line in the systemd script, /lib/systemd/system/nodered.service, that you can uncomment which is supposed to delay node-red startup until after the time is synced. There is a comment in the script indicating what to do.

---

<div class="post-metadata">

**Author:** ![biros](https://avatars.discourse-cdn.com/v4/letter/b/e47c2d/32.png) [@biros](https://discourse.nodered.org/u/biros)\
**Post date:** [5 November 2023 16:43 UTC](https://discourse.nodered.org/t/cronplus-node-schedule-s-state-at-boot/82594/27 "2023-11-05T16:43:32Z")

</div>

i have two other flows with cronplus nodes and lot of 1 - 3 - 10 second, etc schedules, those are spamming the list too.  
the line with the time update occurs after the inject msg so there is that.  
thanks for the info on the systemd script i will look into that now.

---

<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:** [19 November 2023 16:43 UTC](https://discourse.nodered.org/t/cronplus-node-schedule-s-state-at-boot/82594/28 "2023-11-19T16:43:51Z")

</div>

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

[Previous page](https://discourse.nodered.org/t/cronplus-node-schedule-s-state-at-boot/82594.md?page=1)
