Website Automated Admin Tasks

From CCCWiki
Jump to: navigation, search

Cache Refresh

The following script is scheduled to run every 10 minutes. It retrieves the sitemap and accesses every page to refresh the Joomla cache in case it gets invalided by edits through the Joomla admin interface:

 python /var/www/vhosts/s17637272.onlinehome-server.info/linkchecker/simple_site_checker.py "https://ccchislehurst.org/index.php?option=com_xmap&view=xml&tmpl=component&id=1"