Skip to content

additional support for non-standard @period intervals #17

Description

@c-nv-s

*note I have replaced @ with (at) to avoid pinging a bunch of random users.

some cron implementations also support declaring intervals using the (at)period format e.g.
https://github.com/vgarvardt/gueron?tab=readme-ov-file#scheduler-format

would it also be possible for kronos to support this format:
(at)yearly (or (at)annually) => 0 0 1 1 *
(at)monthly => 0 0 1 * *
(at)weekly => 0 0 * * 0
(at)daily (or (at)midnight) => 0 0 * * *
(at)hourly => 0 * * * *
(at)every [interval] where [interval] is the duration string that can be parsed by time.ParseDuration()

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