script to record time of login and logout

hi…

Me again :slight_smile:

My friends :

I need your support to build a script which record time of each login and logout for any clint in my network .
also mail this records periodically to my yahoo account ( really i need this issue to make double check when I’m out of my country ).
Note I use OS v 3.30 and use PPPoE

I appreciate your advice .

Best regards

any update???
need your supervisor please

thanks again…

You don’t need a script for that. You can set up system logging to store pppoe logs in file.

You don’t need a script for that. You can set up system logging to store pppoe logs in file.

thanks dear ..

but can you tell me please how can i do as like that ?


best regards

In the manual you can find an example how to log to file
http://wiki.mikrotik.com/wiki/Log#Logging_to_file

Also it lists all available topics, in your case you need “pppoe,info”