formatting

This commit is contained in:
Taylor Otwell 2018-03-16 11:06:02 -05:00
parent b48d263107
commit ae09565502
1 changed files with 3 additions and 2 deletions

View File

@ -78,10 +78,11 @@ In addition to scheduling Closure calls, you may also schedule [Artisan commands
<a name="scheduling-queued-jobs"></a>
### Scheduling Queued Jobs
The `job` method may be used to schedule a [queued job](/docs/{{version}}/queues). This method provides a convenient way to schedule jobs without using the `call` method to manually create Closures to queue the job. The `job` method accepts an optional second argument to specify the queue.
The `job` method may be used to schedule a [queued job](/docs/{{version}}/queues). This method provides a convenient way to schedule jobs without using the `call` method to manually create Closures to queue the job:
$schedule->job(new Heartbeat)->everyFiveMinutes();
// Dispatch the job to the "heartbeats" queue...
$schedule->job(new Heartbeat, 'heartbeats')->everyFiveMinutes();
<a name="scheduling-shell-commands"></a>