I am struggling with this problem.
I was wanting to send an email once a day, so I set up node-red-contrib-cron-plus at the suggestion of @TotallyInformation (never had cron so easy to set up and foolproof! Thank you @Steve-Mcl ), along with node-red-node-email (1.7.8) and all worked well. As my knowledge and confidence increased, I needed to delete the old cron event and set up two more as I modified/improved the function .
The next time the old event came around, an email was sent, along with the two new ones. In investigating this, I found that that available version of cron-plus in Palette Manager is at 0.4.0. I also found that the current version was available in npm/github (0.6.7). So I updated to this. I still got the old deleted event email (along with the correct new ones).
I have removed/reinstalled both the cron-plus and email in various options, including ensuring the directories for the flow had been removed, but I am still getting the 'Phantom' email. I have searched the flows (both with the tool and manually) and there is no other place that email is used other than in this little bit of flow. I am wondering if an 'artifact' remains in the Cron job?
Basically, I want to remove this old email and wondered if someone could help me track down the problem.
TIA
[{"id":"2d533cea.488ddc","type":"function","z":"6f1afdfb.ef50cc","name":"Me","func":"var slots = msg.topic;\nmsg.topic = \"Octopus slots for \" + slots;\nmsg.payload = global.get(\"expensive\")||0;\nmsg.payload += \"\\n\\n\";\nmsg.payload += \"The best times to do stuff are:\";\nmsg.payload += \"\\n\";\nmsg.payload += global.get(\"minute30\")||0;\nmsg.payload += \"\\n\";\nmsg.payload += global.get(\"minute60\")||0;\nmsg.payload += \"\\n\";\nmsg.payload += global.get(\"minute90\")||0;\nmsg.payload += \"\\n\";\nmsg.payload += global.get(\"minute120\")||0;\nmsg.payload += \"\\n\";\nmsg.payload += global.get(\"minute150\")||0;\nmsg.payload += \"\\n\";\nmsg.payload += global.get(\"minute180\")||0;\nmsg.payload += \"\\n\";\nmsg.to = \"you@example.com\";\nmsg.from = \"nodered@example.com\";\n\nreturn msg;","outputs":1,"noerr":0,"x":370,"y":100,"wires":[["85c6b81b.c94818"]]},{"id":"1d149752.4ac811","type":"cronplus","z":"6f1afdfb.ef50cc","name":"send_eMails","outputField":"topic","timeZone":"","outputs":1,"options":[{"expressionType":"cron","topic":"evening","payload":"1900hrs today to 2300hrs tomorrow","type":"str","expression":"0 0 19 * * *","location":"","offset":"0"},{"expressionType":"cron","topic":"morning","payload":"0800hrs to 2300hrs today","type":"str","expression":"0 0 8 * * *","location":"","offset":"0"}],"x":190,"y":100,"wires":[["2d533cea.488ddc"]]},{"id":"85c6b81b.c94818","type":"e-mail","z":"6f1afdfb.ef50cc","server":"smtp.example.com","port":"587","secure":false,"tls":false,"name":"","dname":"","x":530,"y":100,"wires":[]}]
23 May 11:08:25 - [info]
Welcome to Node-RED
23 May 11:08:25 - [info] Node-RED version: v1.0.6
23 May 11:08:25 - [info] Node.js version: v10.20.1
23 May 11:08:25 - [info] Linux 4.19.97-v7+ arm LE
23 May 11:08:26 - [info] Loading palette nodes
23 May 11:08:34 - [info] Dashboard version 2.22.1 started at /ui
23 May 11:08:36 - [info] Settings file : /home/pi/.node-red/settings.js
23 May 11:08:36 - [info] Context store : 'default' [module=memory]
23 May 11:08:36 - [info] User directory : /home/pi/.node-red
23 May 11:08:36 - [info] Server now running at http://127.0.0.1:1880/