Cleaning up the log laravel 11 #1306
Unanswered
ManarangID
asked this question in
Q&A
Replies: 2 comments
-
Everything is prepared for what you need. Put the cleanup command to your scheudler:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks
Pada Sel, 24 Sep 2024 18:51, Michal Štván ***@***.***>
menulis:
… Everything is prepared for what you need. Put the cleanup command to your
scheudler:
1. in app/Console/Kernel.php for Laravel < 11
2. in bootstrap/app.php for Laravel 11+
$schedule->command('activitylog:clean')->daily();
https://laravel.com/docs/11.x/scheduling
—
Reply to this email directly, view it on GitHub
<#1306 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A4MSLSJ42BNG4UCGSGYZ3CLZYE72NAVCNFSM6AAAAABIWREFLWVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTANZTG43DEMQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***
.com>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
hi all, please help to make scheduler to run the clean up in lavarel 11 , regards
Beta Was this translation helpful? Give feedback.
All reactions