Skip to content

Set a daily 00:00:00 trigger task, from April 2 every day trigger time into 01::00:00 #37

@yuyidegit

Description

@yuyidegit

Describe the bug
设置了一个每天00:00:00触发的任务,从4月2号开始每天触发时间变成01::00:00了,不知道是否和时令有关.

To Reproduce
程序从3月份开始运行,4月2号前都是正常触发的.
计时器设置:
let task = TaskBuilder::default()
.set_frequency_repeated_by_cron_str("0 0 0 * * * *")
.set_task_id(1)
.spawn_async_routine(body)
.unwrap();

Desktop (please complete the following information):

  • OS: Ubuntu 18.04 LTS
  • delay-timer :0.11.1
  • timezone: Asia/Shanghai
  • rustflags: ["--cfg", "unsound_local_offset"]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions