...
You must have python and curl installed and create the file: /etc/cron.daily/current_devices.csv
CSV format
The CSV format that is used to determine the gateway is as follows:
...
The code is attached here: voip_backup.py
If you want to do a daily backup simply place this script and the CSV file into /etc/cron.daily and make the script executable:
Code Block |
---|
chmod +x /etc/cron.daily/voip_backup.py |