-
Notifications
You must be signed in to change notification settings - Fork 1
/
README
39 lines (28 loc) · 1.45 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
This project contains some tools for extract some reports for the taolin application.
Look http://taolin.fbk.eu for more information
REPORT
cake -app taolintools report http://....
create a report about the current month for the gived url
EMAIL LIST
cake -app taolintools users_email domain blacklistfile
create a comma separeted value list with the email of each users.
To exclude some users simple give a blacklistfile with the list of logins.
ACTIVATION USERS
[1] cake -app taolintools enableusers·
[2] cake -app taolintools enableusers show_num_activable_users
[3] cake -app taolintools enableusers show_num_activable_users activate
[4] cake -app taolintools enableusers sender_email domain_email company_name subject_email url_taolin
[5] cake -app taolintools enableusers show_num_activable_users sender_email domain_email company_name subject_email url_taolin
[1] show all the activable users
[2] show the first N activable users
[3] show the first N activable users and activate (1=yes 0=no)
[4] enable each new users in the database and send a email
[5] enable the first N users in the database and send a email
notes:
- the script works only for the users with login != NULL
- text email can change by the view welcome.ctp
- is necessary update the roaster of the jabber server
ex. ejabberdctl srg_user_add login node roaster server
CHECK ENABLED USER
cake -app taolintools checkenableduser login
the script checks whether the user exists and if not already enabled