I understand the difference between "Flush Magento Cache" and "Flush Cache Storage" in Magento (example). I'm trying to work on a cron job that will flush the cache storage from time to time.
I'm assuming that this button doesn't just remove the contents of var/cache/, but I can't find a solid resource that says what it does. I am using APC as well as all the inbuilt Magento cache features.
Is it possible to run the equivalent of the "Fluch Cache Storage" button from a script?