Capture User Daily Traffic

Hello,

I don’t know how to create script if I want to capture PPPoE user whose usage is exceeding 5GB a day (reset every 00:00 midnight) will be added to src-address-list so I can do traffic limiting based on src-address-list populated.

Also if user PPPoE gets rebooted, will the traffic be reset too. What happen if the Mikrotik gets rebooted, will the counter get reset too?

I am not very familiar with how to make script to do this, can anyone help me?

Thank you

Anyone?

Anyone can help me?

Thank you before