We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16bb3a1 commit 13a0af1Copy full SHA for 13a0af1
scheduling.md
@@ -365,10 +365,7 @@ Schedule::command('report:generate')
365
You may use the `useCache` method to customize the cache store used by the scheduler to obtain the atomic locks necessary for single-server tasks:
366
367
```php
368
-Schedule::command('recipes:sync')
369
- ->everyThirtyMinutes()
370
- ->onOneServer();
371
- ->useCache('database');
+Schedule::useCache('database');
372
```
373
374
<a name="naming-unique-jobs"></a>
0 commit comments