diff options
author | Andrew Dolgov <[email protected]> | 2005-11-23 13:26:29 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2005-11-23 13:26:29 +0100 |
commit | 30a49c9227c0230093829646d6dc52c1fdf512dc (patch) | |
tree | b496562d59d6470d3074462e34d60c7fbf8e7045 /config.php-dist | |
parent | b83c75451c08569d90aedf7a54b5fa868ec6608e (diff) |
DAEMON_REFRESH_ONLY makes a lot more sense as a global option
Diffstat (limited to 'config.php-dist')
-rw-r--r-- | config.php-dist | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/config.php-dist b/config.php-dist index 6564da668..0eb796715 100644 --- a/config.php-dist +++ b/config.php-dist @@ -23,5 +23,16 @@ define(SINGLE_USER_MODE, true); // Operate in single user mode, disables all functionality related to // multiple users. - + + 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=updateAllFeeds&daemon=1" + // + ?> |