摘要: which <--> Get-Command 阅读全文
posted @ 2020-08-13 16:20 fndefbwefsowpvqfx 阅读(98) 评论(0) 推荐(0) 编辑
摘要: https://chocolatey.org/install Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.Serv 阅读全文
posted @ 2020-08-13 16:18 fndefbwefsowpvqfx 阅读(181) 评论(0) 推荐(0) 编辑
摘要: ## do.sh ```bash #!/bin/bash repeat() { while :; do $@ && return; sleep 1; done } retryuntil() { echo $(date +%F%n%T) msg=`./job.sh 2>&1` echo $msg #e 阅读全文
posted @ 2020-08-13 11:36 fndefbwefsowpvqfx 阅读(120) 评论(0) 推荐(0) 编辑