diff options
author | Andrew Dolgov <[email protected]> | 2019-03-22 14:56:53 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2019-03-22 14:56:53 +0300 |
commit | 59d0e35b7d9f2e656f33052eca62b5bd7afef591 (patch) | |
tree | ba089e123bd538b325d670ac31fe65852c0d02b7 /update.php | |
parent | b583ca12fb1f6fdf02a15762ee7036b2ec653c27 (diff) | |
parent | 671f4cee657f36881eeeea7e5d314034252e3ee7 (diff) |
Merge branch 'master' of git.fakecake.org:tt-rss
Diffstat (limited to 'update.php')
-rwxr-xr-x | update.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/update.php b/update.php index 81a0ec725..3817c7e26 100755 --- a/update.php +++ b/update.php @@ -24,6 +24,7 @@ $longopts = array("feeds", "daemon", "daemon-loop", + "send-digests", "task:", "cleanup-tags", "quiet", @@ -87,6 +88,7 @@ print " --update-schema - update database schema\n"; print " --gen-search-idx - generate basic PostgreSQL fulltext search index\n"; print " --convert-filters - convert type1 filters to type2\n"; + print " --send-digests - send pending email digests\n"; print " --force-update - force update of all feeds\n"; print " --list-plugins - list all available plugins\n"; print " --debug-feed N - perform debug update of feed N\n"; @@ -432,6 +434,10 @@ exit($rc); } + if (isset($options["send-digests"])) { + Digest::send_headlines_digests(); + } + PluginHost::getInstance()->run_commands($options); if (file_exists(LOCK_DIRECTORY . "/$lock_filename")) |