DAEMON_REFRESH_ONLY makes a lot more sense as a global option

This commit is contained in:
Andrew Dolgov
2005-11-23 13:26:29 +01:00
parent b83c75451c
commit 30a49c9227
4 changed files with 14 additions and 11 deletions

View File

@@ -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:password@www.your-site.xxx/tt-rss/backend.php?op=updateAllFeeds&daemon=1"
//
?>