Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enqueue jobs with a specified Id #2487

Open
thompson-tomo opened this issue Dec 17, 2024 · 0 comments
Open

Enqueue jobs with a specified Id #2487

thompson-tomo opened this issue Dec 17, 2024 · 0 comments

Comments

@thompson-tomo
Copy link

I would like to when creating a background job via BackgroundJob class, to have the ability to define my own job id just like we do with re-occurring jobs.

My use case is that i have a task to performed at a random interval and as such need to use a background job with the job invocation triggering the next background job. The benefit of being able to specify the job id is that i can easily cancel the next scheduled run, if the configuration in my portal is changed.

@thompson-tomo thompson-tomo changed the title Enqueue jobs with specifield Id's Enqueue jobs with a specified Id Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant