|
89.
|
|
|
Delete certain accounts in bulk
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/cli.rst:51
|
|
90.
|
|
|
If you want to delete accounts in bulk from the site without needing to go to the administration screen, especially if you have more than 500 accounts to delete, you can use CLI. This script allows you to do the following:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/cli.rst:53
|
|
91.
|
|
|
delete all accounts that have never been logged into, i.e. that were created manually, via CSV file, or an automated process;
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/cli.rst:55
|
|
92.
|
|
|
and / or delete all accounts that have not been logged in since a certain date;
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/cli.rst:56
|
|
93.
|
|
|
and / or delete only those accounts from a specific institution;
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/cli.rst:57
|
|
94.
|
|
|
delete accounts that are members of a specific group.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/cli.rst:59
|
|
95.
|
|
|
``sudo -u www-data php htdocs/admin/cli/delete_inactive_users.php``
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/cli.rst:68
|
|
96.
|
|
|
Index sites running Elasticsearch faster
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/cli.rst:106
|
|
97.
|
|
|
**Prerequisite**: Elasticsearch is installed and set up to run on the site.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/cli.rst:109
|
|
98.
|
|
|
When a large site is indexed or re-indexed so that Elasticsearch can display results, this process can take a very long time because the indexing happens on cron runs. If the batch that was indexed finished before the end of the cron though, there is a lag between the next batch starting up again. The ``fast_index`` CLI script starts the next batch indexing right after the previous one finished.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/cli.rst:111
|