mirror of
https://github.com/pothi/mikrotik-scripts.git
synced 2025-06-24 15:08:39 +02:00
Add a test script to test internet
This commit is contained in:
parent
778449646f
commit
1b6d274521
1 changed files with 8 additions and 0 deletions
8
test-snippets/test-detect-internet-minspeed.rsc
Normal file
8
test-snippets/test-detect-internet-minspeed.rsc
Normal file
|
@ -0,0 +1,8 @@
|
|||
:while ( $minSpeed = 0 ) do={
|
||||
:delay 60s;
|
||||
# :log info "Minimum speed hasn't reached, yet."
|
||||
}
|
||||
# :log info "Minimum speed has reached."
|
||||
|
||||
# :delay 900s; :if ($minSpeed = 0) do={ :log error "No (stable) internet for 15 minutes"; :error "see log" }
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue