Skip to content

--excluded-times-of-day ignored the seconds, which causes unexpected killing #178

@tonyairwallex

Description

@tonyairwallex

I set the excluded time as:
0:00-13:59,16:00-23:59
and triggered the execution.

Expected result:
Run during 14:00:00 to 15:59:59
(Should exclude 16:00:00 to 23:59:59 rather than 23:59:00)

Actual result:
Killing executed at:13:59:27 and 23:59:27, which are UNEXPECTED.
image

More importantly, I cannot work out how to remove the potential 23:59:xx execution.

  1. seconds doesn't work in exclude:
    --excluded-times-of-day 16:00:00-23:59:59
    It failed to run as the parameter only support minutes input.

  2. trying with exclude: 0:00-14:00,16:00-23:59, 23:59-0:00
    -- but less optimistic with the third part working. '23:59-0:00'

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