influxdb icon indicating copy to clipboard operation
influxdb copied to clipboard

Scheduled Tasks Run Immediately

Open jeffreyssmith2nd opened this issue 2 years ago • 1 comments

Steps to reproduce: List the minimal actions needed to reproduce the behavior.

  1. Create a minimal task option task = {name: \"test\", every: 1h, offset: 0m} from(bucket: \"hello\") |> range(start: -10d)
  2. Schedule a run of that task sometime far in the future (1 week for example)
  3. 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)

jeffreyssmith2nd avatar Jul 13 '22 19:07 jeffreyssmith2nd

When resolved, this test should be reenabled https://github.com/influxdata/grace/pull/166

jeffreyssmith2nd avatar Jul 13 '22 19:07 jeffreyssmith2nd

how to solve the question?please help me

tuoeg avatar Aug 15 '22 07:08 tuoeg

Steps to reproduce: List the minimal actions needed to reproduce the behavior.

  1. Create a minimal task option task = {name: \"test\", every: 1h, offset: 0m} from(bucket: \"hello\") |> range(start: -10d)
  2. Schedule a run of that task sometime far in the future (1 week for example)
  3. 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.

tuoeg avatar Aug 15 '22 07:08 tuoeg