]> git.wh0rd.org - tt-rss.git/blobdiff - update_feeds.php
daemon2: check proper lockfile location in reap_children()
[tt-rss.git] / update_feeds.php
index 588a0a9b570b194429b82dde51b14e023d9acd56..6a4aa2a1b81be715ca5d792e71c68569444ed392 100755 (executable)
@@ -1,9 +1,5 @@
 #!/usr/bin/php
 <?php
-       // this script is probably run not from your httpd-user, so cache
-       // directory defined in config.php won't be accessible
-       define('MAGPIE_CACHE_DIR', '/var/tmp/magpie-ttrss-cache-cli');
-       define('SIMPLEPIE_CACHE_DIR',   '/var/tmp/simplepie-ttrss-cache-cli');
        define('DEFAULT_ERROR_LEVEL', E_ERROR | E_WARNING | E_PARSE);
        define('DISABLE_SESSIONS', true);
 
@@ -38,9 +34,6 @@
 
        init_connection($link);
 
-       // Purge all posts (random 30 feeds)
-       //global_purge_old_posts($link, true, 30);
-
        // Update all feeds needing a update.
        update_daemon_common($link);