Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- LIST
- paramiko
- 핑거스타일
- Visual Studio
- pip
- 컨테이너
- JSON
- YOLO
- SSH
- Linux
- Selenium
- error
- pandas
- VS Code
- Python
- 기타 연주
- mysql
- pytorch
- ubuntu
- 채보
- 프로그래머스
- C
- C#
- 오류
- windows forms
- Docker
- label
- OpenCV
- C++
- Numpy
Archives
- Today
- Total
기계는 거짓말하지 않는다
Ubuntu crontab 본문
Cron은 지정된 시간에 원하는 작업(백그라운드에서)을 실행하는 데 사용되는 시스템 데몬이다.
크론탭 편집
crontab -e
# 관리 권한으로 사용되는 크론탭 명령
sudo crontab -e
크론탭 라인
각 행에는 5개의 시간 및 날짜 필드, 명령, 개행 문자('\n')가 있다. 필드는 공백으로 구분된다.
5개의 시간 및 날짜 필드는 공백을 포함할 수 없으며, 5개의 시간 및 날짜 필드는 다음과 같다.
분(0-59), 시(0-23, 0 = 자정), 일(1-31), 월(1-12), 요일(0-6, 0 = 일요일)
# 매일 자정 15분에 hello 프로그램 실행
15 0 * * * ~/hello
# 매일 10분 마다 hello 프로그램 실행
*/10 * * * * ~/hello
CronHowto - Community Help Wiki (ubuntu.com)
CronHowto - Community Help Wiki
Introduction Cron is a system daemon used to execute desired tasks (in the background) at designated times. A crontab file is a simple text file containing a list of commands meant to be run at specified times. It is edited using the crontab command. The c
help.ubuntu.com
'Linux' 카테고리의 다른 글
Ubuntu Nouveau 비활성화 (NVIDIA 그래픽 드라이버 설치) (0) | 2023.06.22 |
---|---|
Linux OS, 버전, 비트 확인 (0) | 2023.06.22 |
VI Editor 여러 줄 문자 삽입, 제거 (0) | 2023.06.11 |
Bash Shell Script 숫자 판별 (0) | 2023.06.04 |
간단한 온라인 Linux 명령어 연습 사이트 (0) | 2023.04.29 |
Comments