In my scheduler I want to only run my script after the clock is synced with NTP server since it depends on the clock being accurate. I could just add a delay but if there is say a temporary Internet outage that will not help.
Is there a way to do this?
while NTP NOT SYNCED: { sleep(30s) }
/system script run run_script_after_synced
Hello, old topic I know…
I’m in a similar position of the OP, with a script to replace NTP server every day, I wonder if this is really necessary or RouterOS is able to keep synched with the sever just adding the server once (/ntp client set server=NTPpool.org…)
Thanks!