Skip to content

Support user-defined job name #25

@AceDarkknight

Description

@AceDarkknight

as this issue #8 say, currenctly I can not add a job using user-defined name. I create a RP and resolve this. The example is as follow:

var myFunc = func(){}
jobrunner.Schedule("cron.frequent", jobs.Func(myFunc), "my-job")

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