update description of DAEMON_UPDATE_ONLY in config.php-dist

This commit is contained in:
Andrew Dolgov 2005-11-23 18:01:49 +01:00
parent 7eec90cf63
commit 0d43617929
1 changed files with 9 additions and 6 deletions

View File

@ -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"
//
?>