add note for multi-domain cronjob setup

master
fabrixxm 2013-03-01 00:58:24 -08:00
parent 16a3ed1e96
commit d04c70f8dd
1 changed files with 4 additions and 0 deletions

4
FAQ.md

@ -52,6 +52,10 @@ You can do that. What you can't do is point two different domains at the same da
As long as .htconfig.php exists to keep it from trying to do an install, you can keep the real config in `include/$hostname/.htconfig.php`
All of the cache and lock stuff can be configured per instance.
Please note that you have to setup a cronjob for every domain. Add host name as last argument to poller:
cd /base/directory; /path/to/php include/poller.php "http://mydomain.com"
## <a id="q6" />What is this cronjob (poller.php) supposed to do anyway?
It does all kinds of things that we don't want to do in the "foreground". It looks for anything that is sitting around in the queue and tries to deliver these things again (because maybe the site was down when we tried last time). It notifies you of upcoming birthdays. It goes out and grabs RSS feeds and email contacts (and often Facebook contacts) and checks to see if they have new material for you.