The script executes without problems as notebook. The last two temperature values are compared and if the integer rounded value has changed an email is sent. Which “option” does the error message refer to?
Thanks for any hints.
Cheers,
SpeedY
@SpeedY To configure a task, InfluxDB uses the Flux task option. It’s missing from your current code. Just add something like the following below your import statements:
option task = {
name: "Your task name",
every: 5m // duration representing how often you want your task to run
}
In the UI, this usually gets added automatically using values from the form fields on the left. I’m not sure why that isn’t happening in your case.
Hello scott,
I suppose that the problem with the task option is the consequence of having modified an existing task.I generated a new task from scratch and this time the task option has been added correctly and the task runs without problems.
Cheers,
SpeedY