influxdb
influxdb copied to clipboard
Scheduled Tasks Run Immediately
Steps to reproduce: List the minimal actions needed to reproduce the behavior.
- Create a minimal task
option task = {name: \"test\", every: 1h, offset: 0m} from(bucket: \"hello\") |> range(start: -10d)
- Schedule a run of that task sometime far in the future (1 week for example)
- Notice that the run is executed immediately
Expected behavior:
- The task run is executed when it is scheduled for.
Actual behavior:
- The task is run immediately.
Environment info:
- MacOS arm64
- InfluxDB version: InfluxDB dev (git: 33a7add745) build_date: 2022-07-13T19:14:36Z (latest master at the time of this issue)
When resolved, this test should be reenabled https://github.com/influxdata/grace/pull/166
how to solve the question?please help me
Steps to reproduce: List the minimal actions needed to reproduce the behavior.
- Create a minimal task
option task = {name: \"test\", every: 1h, offset: 0m} from(bucket: \"hello\") |> range(start: -10d)
- Schedule a run of that task sometime far in the future (1 week for example)
- Notice that the run is executed immediately
Expected behavior:
- The task run is executed when it is scheduled for.
Actual behavior:
- The task is run immediately.
Environment info:
- MacOS arm64
- InfluxDB version: InfluxDB dev (git: 33a7add) build_date: 2022-07-13T19:14:36Z (latest master at the time of this issue)
I test your method in influxdb frontend,but also can't send run immediately.