Laravel - Task Scheduling - Scheduling Queued Jobs

The job method may be used to schedule a queued job. This method provides a convenient way to schedule queued jobs without using the call method to define closures to queue the job:

    
    use App\Jobs\Heartbeat;
    
    $schedule->job(new Heartbeat)->everyFiveMinutes();
	

Optional second and third arguments may be provided to the job method which specifies the queue name and queue connection that should be used to queue the job:

    
    use App\Jobs\Heartbeat;
    
    // Dispatch the job to the "heartbeats" queue on the "sqs" connection...
    $schedule->job(new Heartbeat, 'heartbeats', 'sqs')->everyFiveMinutes();