A extension to clear cache with the magento cronjob. You can specify the execution times in app/code/Sengera/RefreshCacheWithCron/etc/crontab.xml
Default is 2:30AM, every day.
- Copy the whole content of this module in your Magento installation directory.
- Run "bin/magento setup:upgrade"
- Depending on your Workspace: Run setup:di:compile and redeploy static-content if needed
- Clear cache (Console "bin/magento c:c" or via Backend)
- Set-up Cronjob in Magento, if not done yet. (https://devdocs.magento.com/guides/v2.0/config-guide/cli/config-cli-subcommands-cron.html)
- Test extension and be happy.
Best regards and happy coding!