Open arjunmenon opened 8 years ago
Hi,
I'm still using this program as my ISP gives me no indication of what I use. Could you please send through your vnstat-alert.json file I think you may have an array in there for the limit. Also what version of ruby and vnstat are you using on what operating system?
In regards to schedule we are lucky enough that our ISP bills on the month. To implement something different you would have to have a start & end variable and then collect the day results from vnstat and store them in a file. Step through all the days for the period and calculate the total for your scheduled period. I have no need for this feature but I do accept pull requests if you are interested in adding to the project.
Hey I dont know if you still use this, but I get this error
vnstat.rb:23:in
percentage_used': undefined methodto_f' for []:Array (NoMethodError)
Also, if required to schedule a period of usage, similar to the billing period, how can we do that?
Thanks.