I would like to refresh all cache at specified intervals, like once a day at midnight (as an example). How can I accomplish this?
I'm using CE 1.9.1.
cachece-1.9.1.0
I would like to refresh all cache at specified intervals, like once a day at midnight (as an example). How can I accomplish this?
I'm using CE 1.9.1.
Best Answer
If in your magento system,
magento cron jobs are working properly
then you definea cronjob
which fire on midnight and clear cache.And class is
Full module:
create
config.xml
at app/code/community/Amit/Cleancache/etc/File2: create
Fire.php
at app/code/community/Amit/Cleancache/Model/code:
File3: module config file Amit_Cleancache.xml at app/etc/modules/