From 0d43617929c644c90c7c795475b48ea582803fd9 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 23 Nov 2005 18:01:49 +0100 Subject: [PATCH] update description of DAEMON_UPDATE_ONLY in config.php-dist --- config.php-dist | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/config.php-dist b/config.php-dist index 0eb796715..8212184c5 100644 --- a/config.php-dist +++ b/config.php-dist @@ -26,13 +26,16 @@ define(DAEMON_REFRESH_ONLY, false); // updates to all feeds will only run when the backend script is - // invoked with a "daemon" option on the URI stem. An example wget - // command line below will invoke an update every 30 minutes, with - // output being sent to /dev/null and the timeout set to 10 minutes - // so that wget does not time out. Substitute your site name, tt-rss - // path, and username/password as necessary. + // invoked with a "daemon" option on the URI stem. This is useful when you + // are hosting multi-user system and want to control how often + // feeds are being updated. + + // An example wget command line below will invoke an update every 30 + // minutes, with output being sent to /dev/null and the timeout set to + // 10 minutes so that wget does not time out. Substitute your site name + // and tt-rss path as necessary. // - // */30 * * * * /usr/bin/wget -O /dev/null -T 600 "http://username:password@www.your-site.xxx/tt-rss/backend.php?op=updateAllFeeds&daemon=1" + // */30 * * * * /usr/bin/wget -O /dev/null -T 600 "http://www.your-site.xxx/tt-rss/backend.php?op=globalUpdateFeeds&daemon=1" // ?>