Skip to content

feat: add AddFuncWithID and AddJobWithID to schedule jobs with predef…#530

Open
Yunnie-pin wants to merge 5 commits intorobfig:masterfrom
Yunnie-pin:master
Open

feat: add AddFuncWithID and AddJobWithID to schedule jobs with predef…#530
Yunnie-pin wants to merge 5 commits intorobfig:masterfrom
Yunnie-pin:master

Conversation

@Yunnie-pin
Copy link

  • Implement AddFuncWithID to schedule func() jobs with a specified ID
  • Implement AddJobWithID to schedule Job interface jobs with a specified ID
  • Add error handling for duplicate job IDs

These new methods allow users to assign predefined IDs to cron jobs,
giving more control and flexibility over job management.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant