Skip to content

Commit 6fa03ec

Browse files
committed
Add docs for purging command
1 parent c9622e1 commit 6fa03ec

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,14 @@ class PermissionsDataTable extends DataTable
6767

6868
3. Run your queue worker. Ex: `php artisan queue:work`
6969

70+
## Purging exported files
71+
72+
On `app\Console\Kernel.php`, register the purge command
73+
74+
```phpt
75+
$schedule->command('datatables:purge-export')->weekly();
76+
```
77+
7078
## Export Filename
7179

7280
You can set the export filename by setting the property.

0 commit comments

Comments
 (0)