Ideas to Improve the Campsite Installer
(based on Mugur’s mail to the support list) 1. Allow user to Use Google cron (or from other sites if available). See: http://code.google.com/appengine/docs/python/config/cron.html
create the following scripts:
- indexer.php that runs the script campsite-indexer from [campsite_dir]/bin directory
- autopublish.php that runs the script campsite-autopublish from [campsite_dir]/bin directory
Schedule the indexer script to run once every 6 hours and autopublish each minute. The URLs passed to Google cron should be:
- http://site.com/indexer.php
- http://site.com/autopublish.php
Important
Make this up to the user. Meaning, via installer user should be able to decide whether activate these cron jobs and which ones. Not everyone needs auto-publishing, not everyone uses campsite search engine (indexer).