Skip to content

Commit 35a6db0

Browse files
committed
Update schedule docs
1 parent 628dfc8 commit 35a6db0

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,17 @@ The package contains a pre-configured panel. You can register the panel in the `
123123

124124
If you want you can build your own panel from the provided resources.
125125

126+
### Schedule
127+
128+
We suggest to add media library maintenance tasks to your schedule in `routes/console.php`:
129+
130+
```php
131+
Schedule::command('media-library:clean')
132+
->weeklyOn(1, '11:00');
133+
Schedule::command('media-library:regenerate --only-missing')
134+
->dailyAt('4:20');
135+
```
136+
126137
## Menu builder
127138

128139
The package includes a powerful hierarchical menu builder with a drag-and-drop interface for creating navigation menus. Menus support multiple types of links and can be easily styled with custom templates.

0 commit comments

Comments
 (0)