...
Step-by-step guide
Download the script.
code
Shell wget -O time_interval.pl https://raw.githubusercontent.com/4psa/voipnowtoolbox/master/time_interval.pl
Install the needed Perl libraries.
code
Shell yum install perl-DBD-mysql perl-JSON
Run the script.
code
The available options will be displayed:Shell perl time_interval.pl
Code Block Usage: Available options: Share a time interval with a different account perl time_interval.pl share <time_interval_id> <client_id> E.G.: perl time_interval.pl share 2 4 Dump a time interval to a file perl time_interval.pl dump <time_interval_id> <file_name or empty> E.G.: perl time_interval.pl dump 2 afterhours Restore a time interval from a file perl time_interval.pl restore <client_id> <file_name or empty> E.G.: perl time_interval.pl restore 2 afterhours.json
...
Except where otherwise noted, content in this space is licensed under a Creative Commons Attribution 4.0 International.