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); define(DAEMON_REFRESH_ONLY, false);
// updates to all feeds will only run when the backend script is // updates to all feeds will only run when the backend script is
// invoked with a "daemon" option on the URI stem. An example wget // invoked with a "daemon" option on the URI stem. This is useful when you
// command line below will invoke an update every 30 minutes, with // are hosting multi-user system and want to control how often
// output being sent to /dev/null and the timeout set to 10 minutes // feeds are being updated.
// so that wget does not time out. Substitute your site name, tt-rss
// path, and username/password as necessary. // 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"
// //
?> ?>