notfff 3d09a1153c refactor(farm): 优化作物生长状态更新逻辑和表格展示- 移除 FarmLandController 中的生长阶段展示逻辑,使用新的枚举展示方法 7 月之前
..
src 3d09a1153c refactor(farm): 优化作物生长状态更新逻辑和表格展示- 移除 FarmLandController 中的生长阶段展示逻辑,使用新的枚举展示方法 7 月之前
.gitignore 3d09a1153c refactor(farm): 优化作物生长状态更新逻辑和表格展示- 移除 FarmLandController 中的生长阶段展示逻辑,使用新的枚举展示方法 7 月之前
LICENSE 3d09a1153c refactor(farm): 优化作物生长状态更新逻辑和表格展示- 移除 FarmLandController 中的生长阶段展示逻辑,使用新的枚举展示方法 7 月之前
README.md 3d09a1153c refactor(farm): 优化作物生长状态更新逻辑和表格展示- 移除 FarmLandController 中的生长阶段展示逻辑,使用新的枚举展示方法 7 月之前
composer.json 3d09a1153c refactor(farm): 优化作物生长状态更新逻辑和表格展示- 移除 FarmLandController 中的生长阶段展示逻辑,使用新的枚举展示方法 7 月之前

README.md

Laravel file cache gc

In some cases, file cache driver is the more suitable choice for our project, but laravel do not clean up the old files unless you get it, and the expired cache files may fill up the disk.

This package create an artisan command cache:file-gc do the garbage collection work that help you clean up the expired cache files.

Installation

composer require solution9th/laravel-file-cache-gc

Usage

  • Run the command manually, and you can with option -d to output the deleted files.

    php artisan cache:file-gc
    
  • As a schedule write in app/Console/Kernel.php.

    $schedule->command('cache:file-gc')->dailyAt('02:00');
    

License

MIT.