Community discussions

MikroTik App

Search found 9 matches

by jdg
Fri Mar 01, 2024 12:30 pm
Forum: Scripting
Topic: Change script to new time format [SOLVED]
Replies: 4
Views: 1982

Re: Change script to new time format [SOLVED]

More important that it works;)
by jdg
Fri Mar 01, 2024 9:25 am
Forum: Scripting
Topic: Change script to new time format [SOLVED]
Replies: 4
Views: 1982

Re: Change script to new time format [SOLVED]

Solved: :local dateint do={:local montharray ( "01","02","03","04","05","06","07","08","09","10","11","12" );:local days [ :pick $d 8 10 ];:local month [ :pick $d 5 7 ];:local year...
by jdg
Wed Feb 28, 2024 8:23 am
Forum: Scripting
Topic: Change script to new time format [SOLVED]
Replies: 4
Views: 1982

Change script to new time format [SOLVED]

Hi, everyone:) Who can help me to transform this script for delete expire hotspot users to new ISO time format(I made a mistake to update Router OS to 7.12.1 :D )? :local dateint do={:local montharray ( "jan","feb","mar","apr","may","jun",&...
by jdg
Thu Feb 20, 2014 1:29 pm
Forum: Scripting
Topic: Solution: Automatically clean expired User-Manager accounts
Replies: 72
Views: 63593

Re: Solution: Automatically clean expired User-Manager accou

Finaly this script working for me: :global iterator 0 :global deleted 0; :global skipped 0; :global counter [/tool user-manager user print count-only] :log info ("\n\r_________________________________\n\n\rCleaning users ready!\n\n\rPerformed these operations:") /tool user-manager user pri...
by jdg
Fri Jan 03, 2014 9:43 am
Forum: Scripting
Topic: Solution: Automatically clean expired User-Manager accounts
Replies: 72
Views: 63593

Re: Solution: Automatically clean expired User-Manager accou

Any help from mikrotik support team, please!
by jdg
Sun Dec 29, 2013 8:50 pm
Forum: Scripting
Topic: Solution: Automatically clean expired User-Manager accounts
Replies: 72
Views: 63593

Re: Solution: Automatically clean expired User-Manager accou

I used script above a while, but for several reasons I have to use this script: :global deleted 0; :global skipped 0; :global counter 0; :log info ("\n\r_________________________________\n\n\rCleaning users ready!\n\n\rPerformed these operations:") /tool user-manager user print brief witho...
by jdg
Fri Aug 16, 2013 5:18 pm
Forum: Scripting
Topic: Solution: Automatically clean expired User-Manager accounts
Replies: 72
Views: 63593

Re: Solution: Automatically clean expired User-Manager accou

Thank you! I'll try it and then post!
by jdg
Tue Aug 06, 2013 5:09 pm
Forum: Scripting
Topic: Solution: Automatically clean expired User-Manager accounts
Replies: 72
Views: 63593

Re: Solution: Automatically clean expired User-Manager accou

Very, very nice script! :D
Thank you!
If there were such a script for logs and session of UM, who can delete only old - 2 or 3 monts entries in the log and session...life would become better :)