{"library":"node-red-contrib-cron-plus","title":"Flexible Scheduler Node for Node-RED","description":"node-red-contrib-cron-plus is an actively maintained Node-RED custom node providing robust scheduling capabilities within Node-RED flows. Currently stable at version 2.2.4, it offers versatile scheduling options including standard cron expressions, solar events (e.g., sunrise, sunset, civil twilight with offsets), and fixed date sequences. Releases often include bug fixes and minor enhancements, with major versions introducing significant features or architectural changes. Key differentiators include its comprehensive dynamic control via input messages, full timezone support, an intuitive UI with a cron expression builder, a map for solar coordinate selection, and options for outputting various payload types. It's specifically designed for the Node-RED environment, allowing for visual configuration and integration into flow-based programming paradigms, rather than being a standalone JavaScript library.","language":"javascript","status":"active","last_verified":"Sun Apr 19","install":{"commands":["npm install node-red-contrib-cron-plus"],"cli":null},"imports":["Install via Node-RED Palette Manager or `npm install node-red-contrib-cron-plus` in your Node-RED user directory, then drag the 'cron-plus' node from the palette into your flow.","msg.topic = 'add'; msg.payload = { payload: 'hello', schedule: '0 * * * *', id: 'my-dynamic-schedule' }; return msg;","msg.topic = 'stop-all-dynamic'; return msg;"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"[{\"id\":\"d1b5c9e4.72147\",\"type\":\"inject\",\"z\":\"aefd1b5c.d1148\",\"name\":\"\",\"props\":[{\"p\":\"payload\"},{\"p\":\"topic\",\"vt\":\"str\"}],\"repeat\":\"\",\"crontab\":\"\",\"once\":false,\"onceDelay\":0.1,\"topic\":\"\",\"payload\":\"true\",\"payloadType\":\"bool\",\"x\":120,\"y\":120,\"wires\":[[\"f2a1b9c8.d73e0\"]]},{\"id\":\"f2a1b9c8.d73e0\",\"type\":\"cronplus\",\"z\":\"aefd1b5c.d1148\",\"name\":\"Every 15 Seconds\",\"outputField\":\"payload\",\"timeZone\":\"Europe/London\",\"persistDynamic\":false,\"outputs\":1,\"options\":[{\"topic\":\"cron-trigger\",\"payloadType\":\"str\",\"payload\":\"triggered!\",\"expression\":\"0/15 * * * * * *\"}],\"x\":340,\"y\":120,\"wires\":[[\"e7f0d8c2.b12a3\"]]},{\"id\":\"e7f0d8c2.b12a3\",\"type\":\"debug\",\"z\":\"aefd1b5c.d1148\",\"name\":\"Debug Output\",\"active\":true,\"tosidebar\":true,\"console\":false,\"tostatus\":false,\"complete\":\"true\",\"targetType\":\"full\",\"statusVal\":\"\",\"statusType\":\"auto\",\"x\":560,\"y\":120,\"wires\":[]}]","lang":"json","description":"This Node-RED flow demonstrates a basic cron-plus node configured to trigger every 15 seconds, sending a 'triggered!' payload to the debug sidebar.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}