# Cron-plus send current schedule on deploy/start-all

**URL:** <https://discourse.nodered.org/t/cron-plus-send-current-schedule-on-deploy-start-all/79027>\
**Category:** General\
**Created:** [7 June 2023 14:55 UTC](https://discourse.nodered.org/t/cron-plus-send-current-schedule-on-deploy-start-all/79027 "2023-06-07T14:55:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![SeRiusRod](https://avatars.discourse-cdn.com/v4/letter/s/278dde/32.png) [@SeRiusRod](https://discourse.nodered.org/u/SeRiusRod)\
**Post date:** [7 June 2023 14:55 UTC](https://discourse.nodered.org/t/cron-plus-send-current-schedule-on-deploy-start-all/79027/1 "2023-06-07T14:55:52Z")

</div>

I have a question for users of the node node-red-contrib-cron-plus.  
Is there a way for making sending the current active schedule o deploy or when activating the node itself?

I have an automation where I do different things between 1h and 7h and other between 7h to 1h.  
This automation has a master on/off switch that I can toggle from HA.  
I have two schedules in cronplus that sets the mode. Lets say day/night (isn't!).  
Then in the flow on sensors pulse I first check if the master switch is active and then in what mode we are. It's stored in context.

So when I have the master switch disabled I send an `stop-all` command. And `start-all`upon re-enable. But I need then the cronplus node to send the current period we are in. But It doesn't. It only sends an status message.

Is it possible?  
Or, any suggestions for a replacement?

---

<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:** [6 August 2023 14:56 UTC](https://discourse.nodered.org/t/cron-plus-send-current-schedule-on-deploy-start-all/79027/2 "2023-08-06T14:56:15Z")

</div>

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