Skip to content

runitor start at ? #220

@r3mi

Description

@r3mi

Hello,
thanks again for runitor! It is my default solution when I need periodic (every) runs with Healthchecks.

Would you consider adding a parameter to have the first run at a specified time and/ or with a specified delay ? Then after, keep running with periodic timers.
Use case: I have a "human-facing" bot and need to schedule the periodic runs at convenient times (for the usual machine-related uses cases, I don't normally care for the time at which it runs).

May be (but I am not a Go developper), before the select loop with NewTicker and signal, adding a single select with NewTimer (and signal) ?

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