Software / code / prosody-modules
Comparison
mod_list_active/README.markdown @ 2638:33f7ca7bdc86
mod_list_active: Add README
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Wed, 22 Mar 2017 14:55:41 +0100 |
| parent | 2190:mod_list_inactive/README.markdown@0c01444f8bc2 |
comparison
equal
deleted
inserted
replaced
| 2637:39c39844cd4c | 2638:33f7ca7bdc86 |
|---|---|
| 1 Description | |
| 2 =========== | |
| 3 | |
| 4 This module lists those users, who **have** used their account in a | |
| 5 defined time-frame, basically the inverse of [mod_list_inactive]. | |
| 6 | |
| 7 Dependencies | |
| 8 ============ | |
| 9 | |
| 10 [mod_lastlog] must be enabled to collect the data used by this module. | |
| 11 | |
| 12 Usage | |
| 13 ===== | |
| 14 | |
| 15 prosodyctl mod_list_active example.com time [format] | |
| 16 | |
| 17 Time is a number followed by 'day', 'week', 'month' or 'year' | |
| 18 | |
| 19 Formats are: | |
| 20 | |
| 21 --------- ------------------------------------------------ | |
| 22 default `user@example.com` | |
| 23 event `user@example.com last action` | |
| 24 --------- ------------------------------------------------ | |
| 25 | |
| 26 Example | |
| 27 ======= | |
| 28 | |
| 29 prosodyctl mod_list_active example.com 1year | |
| 30 | |
| 31 Help | |
| 32 ==== | |
| 33 | |
| 34 prosodyctl mod_list_active |