You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice to add the status of the job to the objects returned by this function, currently I need to get this info by checking what values are available on the Job object
The text was updated successfully, but these errors were encountered:
just a workaround you could use:
you can iterate thru the different status methods (queue.getActiveJobs(), getWaitingJobs()etc ) to get the jobs grouped by status (then you can join after if needed).
Anyway plain getJobs is not the best idea if you have thousands or millions of jobs because you would need to paginate if you really want to get all of them.
I want to build an overview of all the jobs.
I am using this code for that:
It would be nice to add the status of the job to the objects returned by this function, currently I need to get this info by checking what values are available on the Job object
The text was updated successfully, but these errors were encountered: