Dear friends I have a script that generate a backup and send a email every day 4:00 AM. Some times the link is down and I did not receive the e-mail. I would like to improve the sript with a verification like: If ping 200.223.0.84 response, send e-mail, case not, wait 5 minutes and try again until p...
Dear friends Sorry for bad english I set a hotspot server on my 2011 router board v6.35.2 and in the user profile scripts, I create this script On Login: :local date [ /system clock get date ] :if ([/ip hotspot user find where name=$"mac-address"] = "" ) do={ :log warni...
Dear friends In http://wiki.mikrotik.com/wiki/Manual:IP/Hotspot/User we find on ON-LOGOUT USER PROFILE PROPERTY: "Starting with v6.34rc11 some additional variables are available: $uptime-sec, $bytes-in, ..." Any of these new variables are no available. I can get $user or $address, on-login...
Dear @PeterDoBrasil Your script is being very useful to me. Thanks for share it on mikrotik WIKI. I´m developing a group of scripts that should create a static user with the data of dinamic "trial hotspot user" and every LOGOUT, update the "uptime variable" of him (I´m using limi...
:foreach i in [ /ip hotspot user find where profile=1000 ] do={
:if ([ :find [ /ip hotspot user get $i comment ] ] = 0 ) do={
:local date [ /ip hotspot user get $i comment ]
Dear PeterDoBrasil
Did you reach solution for your problem? I´m trying to do a script similar to yours.