Support the ongoing development of Laravel.io →
Cache Queues Jobs
Last updated 2 years ago.
0

Hi

You could only do this at the time of processing the job. So you would need to have the job check for updates and changes stored somewhere before it ran the rest of its code.

Or work out a way to delete that job before it starts and queue a new one.

As most jobs have a delay before they run it is likely that most jobs should check in some way before they execute that the state is still the same. This is also why keeping jobs to as smaller item of change as possible helps.

tristan

0

Sign in to participate in this thread!

Eventy

Your banner here too?

wahlmika wahlmika Joined 3 Mar 2017

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.