node-red-contrib-cron-plus
node-red-contrib-cron-plus copied to clipboard
Environment Variable for cron value
Hello, we would like to use an environment variable to set the corn value. Is there currently a way to do this? Below is where we want to pass the env var.
Just like any other free text field in node-red , you should be able to use ${ENV_VAR}
Docs.
https://nodered.org/docs/user-guide/environment-variables
Failing that, you can setup schedules dynamically. See the built-in examples: ctrl+i
➡️ examples ➡️ node-red-contrib-cron-plus whereby you could use a change node to grab the env var to form a dynamic Cron schedule