When I edit something on a product, Magento always ask, reindex 'Product Flat Data' and refresh cache 'Blocks HTML output'
I manually process those whenever I edit but it's very annoying when I have to edit my product often. I give up to those two task since I have to do it later again
Is there any way automatically reindex 'Product Flat Data' and refresh cache 'Blocks HTML output' every few hours? like using cronjob (then how to setup?)
Best Answer
Magento has a class that specifically handles command line scripts. The Magento bootstrap can be handled via the Shell Abstract script inside of your
shell/
folder.Now setup your cron like this: