Clear Log and Session User Manager - MikroTik Script RouterOS

How to automatically clear Log and Session On User Manager or you can make a new schedule 

Clear Log

:foreach i in=[/tool user-manager log find] do { /tool user-manager log remove $i;}
Or
 
/tool user-manager database clear-log 
Clear Session

:foreach i in=[/tool user-manager session find] do { /tool user-manager session remove $i; }
Credit: www.o-om.com