# Seeking monthly timer

**URL:** <https://discourse.nodered.org/t/seeking-monthly-timer/54282>\
**Category:** General\
**Created:** [25 November 2021 15:47 UTC](https://discourse.nodered.org/t/seeking-monthly-timer/54282 "2021-11-25T15:47:32Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Becker](https://avatars.discourse-cdn.com/v4/letter/b/c77e96/32.png) [@Becker](https://discourse.nodered.org/u/Becker)\
**Post date:** [25 November 2021 15:47 UTC](https://discourse.nodered.org/t/seeking-monthly-timer/54282/1 "2021-11-25T15:47:32Z")

</div>

Hi,  
is there a node that I can use to trigger on the 1st of every month at 0:00 for example ?

I want to write counter readings in influxdb, so that I can build the difference in grafana for every month.

Grafana can only use by day or week, not by month: SELECT difference(distinct("Heizung")) FROM "WMZ" WHERE $timeFilter GROUP BY time(1d) fill(null)

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [25 November 2021 15:48 UTC](https://discourse.nodered.org/t/seeking-monthly-timer/54282/2 "2021-11-25T15:48:05Z")

</div>

Have a look at the cron-plus node. I believe it'll do just what you're looking for.

---

<div class="post-metadata">

**Author:** ![dynamicdave](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dynamicdave/32/96_2.png) [@dynamicdave](https://discourse.nodered.org/u/dynamicdave)\
**Post date:** [25 November 2021 16:07 UTC](https://discourse.nodered.org/t/seeking-monthly-timer/54282/3 "2021-11-25T16:07:04Z")

</div>

As Nick said the cron-plus node would be ideal. It has an Expression Builder built-in so very easy to use.

![Screen Shot 11-25-21 at 04.04 PM](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/6/1/6186b7b553cb9ad7d42eb2337e20dd269d7de222.gif)

---

<div class="post-metadata">

**Author:** ![Becker](https://avatars.discourse-cdn.com/v4/letter/b/c77e96/32.png) [@Becker](https://discourse.nodered.org/u/Becker)\
**Post date:** [25 November 2021 20:33 UTC](https://discourse.nodered.org/t/seeking-monthly-timer/54282/4 "2021-11-25T20:33:24Z")

</div>

very nice

---

<div class="post-metadata">

**Author:** ![Becker](https://avatars.discourse-cdn.com/v4/letter/b/c77e96/32.png) [@Becker](https://discourse.nodered.org/u/Becker)\
**Post date:** [25 November 2021 20:45 UTC](https://discourse.nodered.org/t/seeking-monthly-timer/54282/5 "2021-11-25T20:45:07Z")

</div>

I got it:

```auto
[
    {
        "id": "481597cd3803c3ba",
        "type": "debug",
        "z": "42651355.aa1f14",
        "name": "",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "false",
        "statusVal": "",
        "statusType": "auto",
        "x": 630,
        "y": 2060,
        "wires": []
    },
    {
        "id": "d94e60f678da3d4b",
        "type": "cronplus",
        "z": "42651355.aa1f14",
        "name": "jeden Monat",
        "outputField": "payload",
        "timeZone": "",
        "persistDynamic": false,
        "commandResponseMsgOutput": "output1",
        "outputs": 1,
        "options": [
            {
                "name": "Heizung",
                "topic": "Heizung",
                "payloadType": "flow",
                "payload": "WMZ_Heizung",
                "expressionType": "cron",
                "expression": "0 0 0 1 * ? *",
                "location": "",
                "offset": "0",
                "solarType": "all",
                "solarEvents": "sunrise,sunset"
            },
            {
                "name": "Warmwasser",
                "topic": "WW",
                "payloadType": "flow",
                "payload": "WMZ_WW",
                "expressionType": "cron",
                "expression": "0 0 0 1 * ? *",
                "location": "",
                "offset": "0",
                "solarType": "all",
                "solarEvents": "sunrise,sunset"
            },
            {
                "name": "Kühlung",
                "topic": "PC",
                "payloadType": "flow",
                "payload": "WMZ_PC",
                "expressionType": "cron",
                "expression": "0 0 0 1 * ? *",
                "location": "",
                "offset": "0",
                "solarType": "all",
                "solarEvents": "sunrise,sunset"
            },
            {
                "name": "Strom",
                "topic": "Strom",
                "payloadType": "flow",
                "payload": "WMZ_Wel",
                "expressionType": "cron",
                "expression": "0 0 0 1 * ? *",
                "location": "",
                "offset": "0",
                "solarType": "all",
                "solarEvents": "sunrise,sunset"
            }
        ],
        "x": 90,
        "y": 2060,
        "wires": [
            [
                "b1e6fc3ed2814713"
            ]
        ]
    },
    {
        "id": "b1e6fc3ed2814713",
        "type": "join",
        "z": "42651355.aa1f14",
        "name": "Objekt für InfluxDB",
        "mode": "custom",
        "build": "object",
        "property": "payload",
        "propertyType": "msg",
        "key": "topic",
        "joiner": "\\n",
        "joinerType": "str",
        "accumulate": false,
        "timeout": "",
        "count": "4",
        "reduceRight": false,
        "reduceExp": "",
        "reduceInit": "",
        "reduceInitType": "",
        "reduceFixup": "",
        "x": 370,
        "y": 2060,
        "wires": [
            [
                "481597cd3803c3ba"
            ]
        ]
    }
]

```

 ![grafik](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/0/8/0846a63e08b3b24b0dcddd28c81185d4976eab1d.png)

thank you

---

<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:** [24 January 2022 20:45 UTC](https://discourse.nodered.org/t/seeking-monthly-timer/54282/6 "2022-01-24T20:45:41Z")

</div>

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