-
Notifications
You must be signed in to change notification settings - Fork 18
Usage Statistics
Santiago Palladino edited this page Sep 1, 2015
·
1 revision
If you have a recent version of Verboice installed then you might want to skip this step. To verify this, check if your Verboice installation contains a script located at script/usage_stats
. If that's the case you can skip to the next step.
If you don't have this step you can proceed to download it:
#!bash
yourserver:~$ wget https://bitbucket.org/instedd/verboice/raw/master/script/usage_stats
....
....
yourserver:~$ chmod +x usage_stats
The script must be run from inside the Verboice directory (although the location of the file could be different). In order to install the script as a cron
task, you must run:
#!bash
yourserver:~$ cd /opt/verboice
yourserver:/opt/verboice$ /location/of/script/usage_stats --key SERVER_KEY_PROVIDED_BY_INSTEDD --install
The script might ask you credentials if needed. Once installed it just add a file located in /etc/cron.d/verboice_usage_stats
.
If you want to uninstall the script, just delete the cron file:
#!bash
yourserver:~$ sudo rm /etc/cron.d/verboice_usage_stats