Support the ongoing development of →
Database Queues Jobs
Last updated 2 years ago.

Hi I also ran into this and got it working kind of.

Im using Laravel 5.3 and in your job class i have the following code

public function handle( Mailer $mailer )
    try {
            if (ToolsService::serverLoadHigh()) {
            } else {
        } catch() {

Within the trait InteractsWithQueue it has a release() function which schedules the job (in this case) in 10 minutes The value is in seconds.

Only thing if seen is that is still increments the number of attempts. Not sure about reusing the id, I think you can add something to actually reset auto increment value on each run.

Last updated 7 years ago.

Sign in to participate in this thread!


Your banner here too?

LeMike lemike Joined 8 Jan 2017


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

Your logo here?

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

© 2024 - All rights reserved.