sync time before executing