Cleans the cache during a batch job
Normally when performing certain upgrades you need to clean the cache. When you use this task you can schedule this too. Normally using ->setTask('CleanCache', 'clean') will be sufficient as we only need to run the cache cleaning once. for immidiate cache cleaning, for example when the next task depends on it, perform the actions below in your own task.
package | Gems |
---|---|
subpackage | Task |
copyright | Copyright (c) 2011 Erasmus MC |
license | New BSD License |
since | Class available since version 1.5.2 |
execute($text = null
)
The parameters should be optional and failing to provide them should be handled by the task
$cache : \Zend_Cache_Core