Ruby‎ > ‎


To get the status of a job, use the status method.

If you have access to the worker object, just call:


If you only have the job ID, call:


This will return a hash like:


Note that job_id is the same as task_id. (Jobs were known as tasks at the onset.)

You can get the job id by calling the id method:


Jobs vs Scheduled Jobs

Job ID/Task IDs are created for each specific job. Scheduled jobs have separate IDs called schedule_id.


See the article on Get Schedules for more information.

Waiting Until Job Completes

There is also a convenience method worker.wait_until_complete that will wait until the status returned is completed or error.

NOTE: At present, wait_until_complete is for use with the queue method and not intended for run_local andschedule.