Skip to content

Execute the function in the scheduled task immediately when the program starts。 #342

Description

@wuruipeng404

For example, I have a task that is executed every minute. When I start the program, cron will start to execute my task in the next minute. Can I add an option such as "Execute once now" task。

If I manually call the task once in the program, it will look very ugly, and some situations cannot be satisfied

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