From 5bb2383e59b332d065ea8e9f26627924d1dcded1 Mon Sep 17 00:00:00 2001 From: DJ Sundog Date: Fri, 16 Mar 2018 18:37:13 -0700 Subject: [PATCH] Add mastodon:maintenance:purge_removed_accounts (#574) Add documentation for rake task to remove accounts that no longer exist on their home instance. --- Running-Mastodon/List-of-Rake-tasks.md | 1 + 1 file changed, 1 insertion(+) diff --git a/Running-Mastodon/List-of-Rake-tasks.md b/Running-Mastodon/List-of-Rake-tasks.md index 8d526677..497c6344 100644 --- a/Running-Mastodon/List-of-Rake-tasks.md +++ b/Running-Mastodon/List-of-Rake-tasks.md @@ -51,6 +51,7 @@ Furthermore, in the command, `rake` is interchangeable with `rails` |Task|Description|Usage| |----|-----------|-----| +|mastodon:maintenance:purge_removed_accounts| Check every known remote account and delete those locally that no longer exist on the account's home instance| -f, --force (optional - will not request confirmation of each deletion| |mastodon:push:clear| Normally, a subscription to a once-followed user remains forever, in case the user gets re-followed later. You can purge such subscriptions with 0 followers if you wish| |mastodon:feeds:clear_all|Purge all home timelines from redis. Useful only for troubleshooting, when e.g. resetting database during development| |mastodon:feeds:build|Regenerates home timelines for all active users. Useful only for troubleshooting, e.g. if you lost your redis database|