bbgo_origin/scripts/sync_time.sh
2022-12-01 12:18:39 +09:00

4 lines
117 B
Bash
Executable File

#!/usr/bin/sh
date -s @`echo "$(curl https://api.binance.com/api/v3/time 2>/dev/null | jq .serverTime)/1000"|bc -l`