Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

why the laravel project have many cache

1 _  go to app/console/Kernel.php
2 _ do everything that you want in schedule like this : 

protected function schedule(Schedule $schedule)
    {
        $schedule->call(function () {
            DB::table('recent_users')->delete();
        })->daily();
    }
 
PREVIOUS NEXT
Tagged: #laravel #project #cache
ADD COMMENT
Topic
Name
2+5 =