From d04c70f8ddbea7c434629be6e21a980296526c60 Mon Sep 17 00:00:00 2001 From: fabrixxm Date: Fri, 1 Mar 2013 00:58:24 -0800 Subject: [PATCH] add note for multi-domain cronjob setup --- FAQ.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/FAQ.md b/FAQ.md index 2c05bc9..d8c3ad2 100644 --- a/FAQ.md +++ b/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" + ## 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.