CLI command based on Symfony/Console, that can remove files in some directory, that older than some hours.
Usage (remove files older than 24 hours in "/var/html/app/logs/")
php console.php cleaner:run "/var/html/app/logs/" 24| Name | Name | Last commit date | ||
|---|---|---|---|---|
CLI command based on Symfony/Console, that can remove files in some directory, that older than some hours.
Usage (remove files older than 24 hours in "/var/html/app/logs/")
php console.php cleaner:run "/var/html/app/logs/" 24