How can I identify a Job from JobKey?
joint-song opened this issue · 3 comments
There's not any method giving name of JobKey. So I'm not able to implement JobQueue.Remove(JobKey)
and JobQueue.Push(ScheduledJob)
methods for customizing a persistent JobQueue.
And another question: I think a persistent JobQueue
based on widely used database example is really required. I'm using JobQueue in production, but I'm not very certain how implement this properly. Thanks.
@joint-song, you can identify the JobDetail
by a JobKey
and fetch the Job
from it. It might help seeing the code if you have your work open-sourced. I will look into creating a sample implementation for reference, but it may take some time. The API changes hasn't been released yet, and any improvement suggestions would be appreciated.
Thanks for your help. Have a nice day!