From b4acd491ab04ace2fbdb4da69d23465f6fd5c6ae Mon Sep 17 00:00:00 2001 From: Pothi Kalimuthu <1254302+pothi@users.noreply.github.com> Date: Tue, 29 Nov 2022 07:03:24 +0530 Subject: [PATCH] Add test-timesync script that helps to find when the cloud timesync happens in Router OS v6 --- test-snippets/test-timesync.rsc | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 test-snippets/test-timesync.rsc diff --git a/test-snippets/test-timesync.rsc b/test-snippets/test-timesync.rsc new file mode 100644 index 0000000..f1911ad --- /dev/null +++ b/test-snippets/test-timesync.rsc @@ -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)