这是我结合自己的情况,为CloudflareST打包的带参数运行文件,结合corntab
可以实现定时生成一个 result.csv
参考cfstc
参数详情:
/opt/homebrew/Cellar/cfstarm64/2.2.2/bin/CloudflareST -f /opt/homebrew/Cellar/cfstarm64/2.2.2/bin/ipv6.txt -o ~/.CloudflareSTResult/result.csv -n 1000 -dn 10 -tll 30 -dt 13 -tl 280 -sl 15 -p 5
用brew
方式安装Cloudflarest
brew install mrered/cloudflarest/cfstarm64
XIU2/CloudflareSpeedTest原作者XIU2,欢迎前去支持🌟!
「 为了实现某些自动化功能,可以看看这些部分 」
请自行学习。
配置办法:
sed -n "2,1p" ~/.CloudflareSTResult/result.csv | awk -F, '{print $1}'
brew install mrered/cfstc/cfstc