Delete Job by ID from Laravel Horizon Redis Queue

Posted 11 months ago by thechrise

I'm using the Redis queue and Horizon to archive a user's website when their subscription ends, and then in 6 months delete the website. I create both of these jobs in Redis and save their job id so that I can reference them for later.

Let's say the users resubscribes before the 6 months are up. I have a listener in place to check for the delete and archive job ids. How would I go about accessing and deleting these jobs in the Redis queue?

Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.