You are hereVideocache Cleaner Script
Videocache Cleaner Script
Videocache cleaner script was first introduced in version 1.9. This script help you to remove unwanted/unused videos from the cache directories. This script uses two options enable_videocache_cleaner and video_lifetime from the /etc/videocache.conf file.
So, if the value of video_lifetime is 30, then all the videos which were not used since last 30 days will be deleted from the cache.
To use this script, set the appropriate value for video_lifetime and then run the following command
[root@localhost ~]# vccleaner
OR
[root@localhost ~]# /usr/sbin/vccleaner
Run this command as frequently as you want. Currently this script is not run automatically because we want to test the script and get the feedback from the users. In next version it'll be used automatically.
If you installed videocache with --home or --prefix or --install-root option, then you should run update script command as given below
[root@localhost ~]# vccleaner --home=/path/to/videocache/
OR
[root@localhost ~]# /usr/sbin/vccleaner --home=/path/to/videocache/

