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.
npm install node-red-contrib-cron-plusVerified import paths — ran on the pinned version, not inferred.
This Node-RED flow demonstrates a basic cron-plus node configured to trigger every 15 seconds, sending a 'triggered!' payload to the debug sidebar.
Upgrade to `node-red-contrib-cron-plus@2.0.1` or higher.
Ensure your Node-RED instance or browser (if configuring) has internet access when using the map. Otherwise, manually input latitude and longitude.
If you need both the original `msg.payload` and `msg.cronplus` details, choose a different 'payload type' (e.g., string, object, JSONata) or map the `msg.cronplus` object to a different `outputField`.
Always be explicit about targeting dynamic or static schedules with appropriate command suffixes. Review the available commands in the node's documentation or built-in help.
Ensure `msg.payload` is an object containing `schedule` (cron string, solar event, or date array) and `payload` (the value to send) when `msg.topic` is 'add'.
Provide valid latitude and longitude coordinates in the node configuration, either directly or via an environment variable, ensuring they are accessible to the node.
Verify that your Node.js version is `>=8.0.0`. Try reinstalling the package (`npm install node-red-contrib-cron-plus`) in your Node-RED user directory (`~/.node-red`) or via the Node-RED Palette Manager.
No dependency data recorded yet.