# Cron Plus help send payload topic

**URL:** <https://discourse.nodered.org/t/cron-plus-help-send-payload-topic/23223>\
**Category:** General\
**Created:** [17 March 2020 10:39 UTC](https://discourse.nodered.org/t/cron-plus-help-send-payload-topic/23223 "2020-03-17T10:39:17Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![junoprima](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/junoprima/32/63547_2.png) [@junoprima](https://discourse.nodered.org/u/junoprima)\
**Post date:** [17 March 2020 10:39 UTC](https://discourse.nodered.org/t/cron-plus-help-send-payload-topic/23223/1 "2020-03-17T10:39:18Z")

</div>

Cron Plus can possible to send message like object or flow

I try to send message like object type to payload but it return string [object , object]

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/1/1/1136f2fe271b0b96aeffc7c5511840210a7a59af.png)

```auto
[{"id":"d6c53c4.d0eb34","type":"inject","z":"442af5ca.cd920c","name":"","topic":"","payload":"[{\"command\":\"add\",\"name\":1,\"expression\":\"*/5 * * * * *\",\"payload\":[{\"casename\":\"3\",\"imei\":\"867724030292980\",\"start_time\":\"12:25:10\",\"length_time\":\"120\"}],\"type\":\"str\"}]","payloadType":"json","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":1370,"y":980,"wires":[["aac957f5.26f41"]]},{"id":"aac957f5.26f41","type":"cronplus","z":"442af5ca.cd920c","name":"","outputField":"payload","timeZone":"","options":[],"x":1620,"y":940,"wires":[["dca665c6.34dd3"]]},{"id":"dca665c6.34dd3","type":"debug","z":"442af5ca.cd920c","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":1880,"y":980,"wires":[]}]

```

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [17 March 2020 11:58 UTC](https://discourse.nodered.org/t/cron-plus-help-send-payload-topic/23223/2 "2020-03-17T11:58:16Z")

</div>

change the `debug` node to display the 'Complete msg object' and see what you get.

---

<div class="post-metadata">

**Author:** ![junoprima](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/junoprima/32/63547_2.png) [@junoprima](https://discourse.nodered.org/u/junoprima)\
**Post date:** [17 March 2020 13:37 UTC](https://discourse.nodered.org/t/cron-plus-help-send-payload-topic/23223/3 "2020-03-17T13:37:30Z")

</div>

I get like this message

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/a/ba6c6409884b19f782721ca50fe0462395e52a1a.png)

Update i solve this solution use JSON.stringtify to make message to json and call type json it"s done

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

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [17 March 2020 13:55 UTC](https://discourse.nodered.org/t/cron-plus-help-send-payload-topic/23223/4 "2020-03-17T13:55:07Z")

</div>

Did you explore the `cronplus` object in the debug?

---

<div class="post-metadata">

**Author:** ![junoprima](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/junoprima/32/63547_2.png) [@junoprima](https://discourse.nodered.org/u/junoprima)\
**Post date:** [17 March 2020 14:22 UTC](https://discourse.nodered.org/t/cron-plus-help-send-payload-topic/23223/5 "2020-03-17T14:22:31Z")

</div>

Yes sir it from `cronplus`

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/c/8/c8938e0ccb609ac6edb4fd2c1c93d8aad2f2b4c4.png)

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [17 March 2020 14:40 UTC](https://discourse.nodered.org/t/cron-plus-help-send-payload-topic/23223/6 "2020-03-17T14:40:09Z")

</div>

Explore the whole thing! What is in the status and config in the debug?

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [17 March 2020 21:11 UTC](https://discourse.nodered.org/t/cron-plus-help-send-payload-topic/23223/7 "2020-03-17T21:11:58Z")

</div>

Please don't post questions in two places, it wastes people's time.

> [@UPDATE: V1.2.1 node-red-contrib-cron-plus scheduler (incl solar events and Timezone support)](https://discourse.nodered.org/t/updated-v0-6-1-cron-plus-scheduler-incl-sunrise-sunset-and-timezone-support-node-red-contrib-cron-plus/13686/129):
>
> Could try [https://developer.mozilla.org/en-US/docs/Web/API/NavigatorOnLine/onLine](https://developer.mozilla.org/en-US/docs/Web/API/NavigatorOnLine/onLine)

---

<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:** [16 May 2020 21:15 UTC](https://discourse.nodered.org/t/cron-plus-help-send-payload-topic/23223/8 "2020-05-16T21:15:55Z")

</div>

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