Reset data counter on each 10th of the month

Hello,

My ISP has a data limit of 100GB/month. Is there any option on mikrotik to reset the data counter of one port (eth10 on rb2011) each 10th of the month? In that case i just have to login into the mikrotik router and see how much i can download/upload.

Another nice feature would be a mail each day (eg at midnight) that tells me how much i’ve downloaded that day and how much GB there is still left.

Is this possible?

Best regards
Kris

For reset the counter for any interface is:

/interface ethernet reset-counter etherX

You can execute the script each 30 days

I already used that button on winbox but it didnt take a thing. So it works on the command line?

Resetting each 30 days isnt a solution because some months have 31 days or 28 days :slight_smile:

Execute the scrip daily and check if the date is 10-th of the month.