Python 초간단 크론 중복 실행 방지
tendo 모듈 설치 easy_install tendopip install tendo 12from tendo import singletonme = singleton.SingleInstance()cs 기존 스크립트에 위 내용만 추가 해주면 되고, 인스턴스가 실행중이면 에러 발생 시키고 sys.exit(-1) 됨최신 singleton.py 스트립트는 https://github.com/pycontribs/tendo/blob/master/tendo/singleton.py 여기서 확인하면 됨 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667..
프로그래밍
2017. 7. 26. 10:59
warpmemory
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
페이지
TAG
- Python
- 이슈처리
- error
- 외부링크
- 번역
- httpd
- 명령어
- Web
- 예제
- MariaDB
- example
- 코드
- client
- engineering
- RESTful
- apache
- Windows
- deview
- check
- Linux
- Module
- PowerShell
- command
- monitoring
- code
- limits
- configuration
- Ansible
- File
- mysql
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
29 | 30 |
글 보관함