mirror of
https://github.com/pothi/mikrotik-scripts.git
synced 2025-06-22 22:23:31 +02:00
Add test-timesync script that helps to find when the cloud timesync happens in Router OS v6
This commit is contained in:
parent
66b0e38cb9
commit
b4acd491ab
1 changed files with 10 additions and 0 deletions
10
test-snippets/test-timesync.rsc
Normal file
10
test-snippets/test-timesync.rsc
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
# Used to fill logs at every few seconds to find when the cloud timesync happens in RouterOS v6
|
||||||
|
# It can be used for multiple other use cases too.
|
||||||
|
|
||||||
|
:local i 0
|
||||||
|
|
||||||
|
:do {
|
||||||
|
:delay 10s
|
||||||
|
:set i ($i+10)
|
||||||
|
:log info "Time passed since boot: $i seconds"
|
||||||
|
} while ($i < 600)
|
Loading…
Add table
Add a link
Reference in a new issue