Skip to content

The start time in the schedule is not strictly followed #105

@kangroowl

Description

@kangroowl

@stevehu In our tests, we found the start time of in the task definition is not strictly followed. For example, if a task has time unit as DAY and start as 5pm, the task will be triggered on 0am each day instead of 5pm. This is quite unexpected. I think it is due to the code is rounding up the start time to the next time unit at https://github.com/networknt/light-scheduler/blob/67b80bc6dcfda72f3050d557b5cea4f2efb8aca7/src/main/java/com/networknt/scheduler/service/AbstractTaskHandler.java#L91.

I saw a similar issue #22. Is it the same issue or related? You seem have a solution in your mind according to the comments.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions