Website Automated Admin Tasks

From CCCWiki
Revision as of 19:07, 19 October 2014 by Marc.maier (talk | contribs) (Cache Refresh)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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"