Cronplus no message after node-red reboot

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

Sorry, that does not make much sense.

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.

Here is my flow for testing :

[{"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.

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"

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

This is all documented in the built in help:

Thanks for your help.

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