# Cronplus no message after node-red reboot

**URL:** <https://discourse.nodered.org/t/cronplus-no-message-after-node-red-reboot/82622>\
**Category:** General\
**Created:** [5 November 2023 14:12 UTC](https://discourse.nodered.org/t/cronplus-no-message-after-node-red-reboot/82622 "2023-11-05T14:12:57Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![janwolf](https://avatars.discourse-cdn.com/v4/letter/j/bc79bd/32.png) [@janwolf](https://discourse.nodered.org/u/janwolf)\
**Post date:** [5 November 2023 14:12 UTC](https://discourse.nodered.org/t/cronplus-no-message-after-node-red-reboot/82622/1 "2023-11-05T14:12:57Z")

</div>

Is there a way when using cronplus that it will send at reboot the actual playload of schedule activated ?

---

<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 15:25 UTC](https://discourse.nodered.org/t/cronplus-no-message-after-node-red-reboot/82622/2 "2023-11-05T15:25:17Z")

</div>

Sorry, that does not make much sense.

> [@janwolf](#):
>
> send at reboot the actual playload of schedule activated

at time of reboot?

after the reboot and node-red is running once more?

what do you mean by "playload of schedule activated"?

Please provide a detailed example.

---

<div class="post-metadata">

**Author:** ![janwolf](https://avatars.discourse-cdn.com/v4/letter/j/bc79bd/32.png) [@janwolf](https://discourse.nodered.org/u/janwolf)\
**Post date:** [5 November 2023 16:15 UTC](https://discourse.nodered.org/t/cronplus-no-message-after-node-red-reboot/82622/3 "2023-11-05T16:15:54Z")

</div>

Here is my flow for testing :

```auto
[{"id":"3a59b8d7dc9167b0","type":"tab","label":"CronPlus","disabled":false,"info":"","env":[]},{"id":"4daef204be06ca28","type":"cronplus","z":"3a59b8d7dc9167b0","name":"","outputField":"payload","timeZone":"","storeName":"file","commandResponseMsgOutput":"output2","defaultLocation":"","defaultLocationType":"fixed","outputs":2,"options":[{"name":"schedule1","topic":"topic1","payloadType":"num","payload":"6","expressionType":"cron","expression":"0 0 6 * * 1-5 *","location":"","offset":"0","solarType":"all","solarEvents":"sunrise,sunset"},{"name":"schedule3","topic":"topic3","payloadType":"num","payload":"9","expressionType":"cron","expression":"0 0 9 * * 1-5 *","location":"","offset":"0","solarType":"all","solarEvents":"sunrise,sunset"},{"name":"schedule4","topic":"topic4","payloadType":"num","payload":"16","expressionType":"cron","expression":"0 0 16 * * 1-5 *","location":"","offset":"0","solarType":"all","solarEvents":"sunrise,sunset"},{"name":"schedule2","topic":"topic2","payloadType":"num","payload":"7","expressionType":"cron","expression":"0 0 7 * * 6-7 *","location":"","offset":"0","solarType":"all","solarEvents":"sunrise,sunset"},{"name":"schedule5","topic":"topic5","payloadType":"num","payload":"10","expressionType":"cron","expression":"0 0 10 * * 6-7 *","location":"","offset":"0","solarType":"all","solarEvents":"sunrise,sunset"},{"name":"schedule6","topic":"topic6","payloadType":"num","payload":"17","expressionType":"cron","expression":"0 0 17 * * 6-7 *","location":"","offset":"0","solarType":"all","solarEvents":"sunrise,sunset"}],"x":500,"y":160,"wires":[["a9cb2d34ea1dcc01"],["5ee796ad78918abe"]]},{"id":"a9cb2d34ea1dcc01","type":"debug","z":"3a59b8d7dc9167b0","name":"debug 21","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":780,"y":120,"wires":[]},{"id":"5ee796ad78918abe","type":"debug","z":"3a59b8d7dc9167b0","name":"debug 22","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":780,"y":200,"wires":[]},{"id":"654062d76ee10b2e","type":"inject","z":"3a59b8d7dc9167b0","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":true,"onceDelay":0.1,"topic":"command","payload":"start","payloadType":"str","x":220,"y":160,"wires":[["4daef204be06ca28","64a0f8620c86f53a"]]},{"id":"64a0f8620c86f53a","type":"debug","z":"3a59b8d7dc9167b0","name":"debug 23","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":500,"y":260,"wires":[]}]

```

I would like the payload configure in a schedule be re-emit in case of node-red restart/reload.

---

<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:24 UTC](https://discourse.nodered.org/t/cronplus-no-message-after-node-red-reboot/82622/4 "2023-11-05T16:24:30Z")

</div>

You have multiple schedules in the node - which one do you want to be triggered on startup?

A topic of `trigger-all` will trigger "all schedules"

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/e/4ea4710eec105318bee2e6319bc57ccc31616563.png)

A topic of `trigger` and a payload with the name of the schedule will trigger a single entry

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/9/49b2b246156973904c84e10c3ce9f85a0dfb5de4.png)

This is all documented in the built in help:

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/3/7/378d1763cc06bc344c1c9d242b9875cfa1dd4a1d.png)

---

<div class="post-metadata">

**Author:** ![janwolf](https://avatars.discourse-cdn.com/v4/letter/j/bc79bd/32.png) [@janwolf](https://discourse.nodered.org/u/janwolf)\
**Post date:** [5 November 2023 20:51 UTC](https://discourse.nodered.org/t/cronplus-no-message-after-node-red-reboot/82622/5 "2023-11-05T20:51:48Z")

</div>

Thanks for your help.

---

<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 20:52 UTC](https://discourse.nodered.org/t/cronplus-no-message-after-node-red-reboot/82622/6 "2023-11-19T20:52:00Z")

</div>

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