1
0
mirror of https://tt-rss.org/git/tt-rss.git synced 2024-06-22 11:36:38 +02:00

new option: DAEMON_SENDS_DIGESTS

This commit is contained in:
Andrew Dolgov 2006-08-21 08:34:49 +01:00
parent 481c9804aa
commit 99018440a5
3 changed files with 6 additions and 2 deletions

View File

@ -140,6 +140,10 @@
define('DIGEST_EMAIL_LIMIT', 10);
// The maximum amount of emails sent in one digest batch
define('DAEMON_SENDS_DIGESTS', true);
// If update daemon and update_feeds should send digests
// Disable if you prefer querying special URL (see wiki)
define('CONFIG_VERSION', 5);
// Expected config version. Please update this option in config.php
// if necessary (after migrating all new options from this file).

View File

@ -148,7 +148,7 @@
}
}
send_headlines_digests($link);
if (DAEMON_SENDS_DIGESTS) send_headlines_digests($link);
print "Sleeping for " . DAEMON_SLEEP_INTERVAL . " seconds...\n";

View File

@ -34,7 +34,7 @@
update_all_feeds($link, false, $user_id, true);
}
send_headlines_digests($link);
if (DAEMON_SENDS_DIGESTS) send_headlines_digests($link);
db_close($link);