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