]> git.wh0rd.org Git - tt-rss.git/commitdiff
expand comment on update_feeds.php in config.php
authorAndrew Dolgov <fox@bah.spb.su>
Sun, 4 Dec 2005 09:28:50 +0000 (10:28 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Sun, 4 Dec 2005 09:28:50 +0000 (10:28 +0100)
config.php-dist

index 00b47bfcc839afd143fafc6c828b9117efdba68b..309af2da9d939f2d8ce6ff9f0dc9d1d71dbaf1bd 100644 (file)
        //
 
        // The alternative approach is to run update_feeds.php from your crontab
-       // with command line PHP interpreter.
-
+       // with command line PHP interpreter. Don't forget to chdir() into TT-RSS
+       // directory or it won't be able to find includes. E.g.
+       //
+       // */30 * * * * cd $TTRSS_DIRECTORY && ./update_feeds.php >/dev/null 2>&1
+       
        define('SMART_RPC_COUNTERS', true);
        // If enabled, stores feed counter information on the server side and sends
        // only diffs to the client. In the nutshell, it saves your bandwidth and