Readonly
jobReadonly
jobsReadonly
registryReadonly
scheduleRetry a job by id
This method is useful if you have a job that exhausted its attempts limit but you want to run it again. By calling this method you will bring the attempts count of the job to 0 and set the next run time to current time (so the job will be picked up as soon as possible).
Optional
waitTime: number
Cancel jobs
This method will remove jobs with given ids from the DB. So if the job is scheduled and waiting to be run then you would prevent the job from being executed in the future. If you call this method while the job is currently running then you won't affect the current execution of the job but you will prevent the job from being executed again in the future (in case it failed)