2022-02-03 작성 ubuntu 환경에서 일정시간마다 python code를 실행해야 하는 task가 생겼다. 찾아보니 windows 관리도구에서 제공하는 작업 스케줄러 역할을 해주는 Crontab 이라는 편리한 기능이 있어서 공부하면서 정리하려 한다. 1. Crontab 설치 sudo apt-get update sudo apt-get install cron 2. Crontab 명령어 현재 사용자의 Crontab 설정 보기 sudo crontab -l 현재 사용자의 Crontab 설정편집 sudo crontab -e 현재 사용자의 Crontab 설정 삭제 sudo crontab -r 3. Crontab 규칙 ex) * * * * * /home/msdl/Downloads/test.py → 매분,..