Linux 콘솔창에서 명령어 주기적으로 수행하기
1. while true; do 명령어; sleep 주기(초); done
$while true; do curl -X GET "http://www.google.com"; sleep 10; done
2. watch -n 주기(초) 명령어
$watch -n 10 'curl -X GET "http://www.google.com"'
'Routine > LINUX' 카테고리의 다른 글
| Useful Docker Command on Ubuntu (0) | 2020.02.02 |
|---|---|
| Azure azcopy, blob upload (0) | 2020.02.02 |
| Ubuntu-Setup-Scripts (0) | 2020.02.02 |
| CentOS git version update (0) | 2020.02.02 |
| on Ubuntu 16.04/18.04 LTS cuda 버전 확인 (0) | 2019.01.02 |