summaryrefslogtreecommitdiff
path: root/config.php-dist
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2005-10-28 02:30:03 +0100
committerAndrew Dolgov <[email protected]>2005-10-28 02:30:03 +0100
commitc70d731e238d8bc414f2488a42906e13c68797e6 (patch)
treecf5c97adc47b198638e2c4f5c51f9743e5f0d62c /config.php-dist
parentf1b9a8ee78ea99abf93997ab42dd3ee93d605438 (diff)
DAEMON_REFRESH_ONLY patch from the same source
Diffstat (limited to 'config.php-dist')
-rw-r--r--config.php-dist13
1 files changed, 12 insertions, 1 deletions
diff --git a/config.php-dist b/config.php-dist
index f7848430a..9d86bddb2 100644
--- a/config.php-dist
+++ b/config.php-dist
@@ -49,6 +49,17 @@
define(USE_COMPACT_STYLESHEET, false);
// use stylesheet with more compact layout (if combined with two previous
// options may improve UI on small screens)
-
+
+ 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.
+ //
+ // */30 * * * * /usr/bin/wget -O /dev/null -T 600 "http://username:[email protected]/tt-rss/backend.php?op=rpc&subop=updateAllFeeds&daemon=1"
+ //
+
?>