Skip to content

[Question] How can I retrive the queued job by its id? #18221

@mpyw

Description

@mpyw

Environment

  • Laravel Version: 5.4
  • PHP Version: 7.1
  • Queue Driver: Redis

Description

I want to:

  1. Queue the job into Redis.
  2. Get its id.
  3. Save the id with the related user information into Redis or MySQL.

Then:

  1. Retrive the job by its id.
  2. Cancel the job!

queue - How to get the queued job from job ID in Laravel? - Stack Overflow

I've also got stuck in the same situation, but there are still no answers...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions