CleanAssetsCommand assets is console yii script to clean assets folder.
I use this script to clean project
/assets folder by my cronbot once a month.
You can use it simply from command line or with cron actions.
- Copy CleanAssetsCommand to
yiic help cleanassetsto see how to use this script
Command line arguments ¶
--auto - makes script to run in silent mode;
--dir=/path/to/dir - specifies path to directory. If blank - system default path will be applied;