Answers for "laravel jobs production"

PHP
1

run jobs laravel

php artisan queue:work --queue=high,default
Posted by: Guest on February-04-2021
0

jobs laravel

$user->notify((new InvoicePaid($invoice))->delay([
    'mail' => now()->addMinutes(5),
    'sms' => now()->addMinutes(10),
]));
Posted by: Guest on January-05-2022
0

laravel jobs tutorial

class TestQueueEmails extends Controller
{
    /**
    * test email queues
    **/
    public function sendTestEmails()
    {
        $emailJobs = new TestSendEmail();
        $this->dispatch($emailJobs);
    }
}
Posted by: Guest on January-09-2022

Browse Popular Code Answers by Language