We have scheduled jobs in our system. It was working fine on laravel 5.8 . But now we have updated it to laravel 8. Before that when we run command php artisan schedule:run it triggers those jobs . But now it is returning this response Running scheduled command: Callback I don't know what does this means.
Here is our jobs
     $schedule->call(function () {
            \App\Jobs\Invoice\CreateInvoiceAutomatically::withChain([
                (new \App\Jobs\Invoice\FillUpInvoices)->delay(Carbon::now()->addMinutes(2))->onQueue('invoice'),
            ])->dispatch()->onQueue('invoice');
        })->everyMinute('16:47');
         $schedule->job(new \App\Jobs\Invoice\AutoSumChargesForInvoice,'invoice')->dailyAt('17:16');
    }
    ```
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire