Command line Yii Script to clean assets dir
CleanAssetsCommand assets is console yii script to clean assets or runtime directory.
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.
##Usage
- Copy CleanAssetsCommand to
application.commandsfolder - run
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;
##Useful info: How to Run Yiic directly from your app without a shell by jacmoe
##Be carefull. Do backups