Support the ongoing development of Laravel.io →
posted 1 year ago
Jobs
0
moderator

Practical this isn't possible. (In theory you could try to remove it from the queue and kill the process that is running the job)

What you can do is add a check to your job that first check if it is still needed. If not you can return without doing anything.

Ps. I removed the previous job because it contains a spam link and has incorrect data.

wagnerdracha liked this reply

1

Hi, I stop the service and delete the job (if it is running) or I just delete it, if the job is not running. Thank @tvbeek

0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.