Community discussions

MikroTik App
 
multipath
newbie
Topic Author
Posts: 43
Joined: Fri Sep 17, 2010 4:42 pm

Userman Test v4.9 Script

Sun Sep 19, 2010 6:39 am

Is there anyway to create a script that would be able to run the userman -> maintence -> rebuild database function on a daily basis? I'm running into issues of the userman test giving error could not set primary key. To fix all I have to do is rebuild the database. Just getting tired of manually running it everyday. I could not find any scripts or example of scripts that called a function directly from the userman database.

Thanks.
 
multipath
newbie
Topic Author
Posts: 43
Joined: Fri Sep 17, 2010 4:42 pm

Re: Userman Test v4.9 Script

Tue Sep 21, 2010 12:50 am

Nevermind,

Figured it out myself.

/ system scheduler add name="Rebuild Database Daily" on-event="/tool user-manager database rebuild" start-date=jan/01/1970 start-time=00:30:00 interval=1d comment="" disabled=no

Who is online

Users browsing this forum: No registered users and 26 guests