Spring의 Annotaion 기반 스케쥴링 방법. ■ 개요 method 단위 스케쥴링 가능 실행주기는 fixedDelay, fixedRate, cron 3가지 속성 존재함 @Scheduled Annotaion을 부여한 method는 void return, 입력인자가 없음에 유의 중복수행을 막기위해 @Configurable를 사용하지 말아야함 Spring 설정XML에 아래 내용이 추가되어야 함. ■ 사용예 @Scheduled(fixedDelay=5000, initialDelay = 1000) public void doSomething() { // 이전 호출이 완료된 시점부터 고정적으로 5초마다 수행됨. // 최초 수행시 에는 1초 딜레타임이 발생함. } @Scheduled(fixedRate=5000) ..
사용법 ■ 다운로드 : http://alexgorbatchev.com/SyntaxHighlighter■ brushes list : http://alexgorbatchev.com/SyntaxHighlighter/manual/brushes/ Brush nameBrush aliasesFile nameActionScript3as3, actionscript3shBrushAS3.jsBash/shellbash, shellshBrushBash.jsColdFusioncf, coldfusionshBrushColdFusion.jsC#c-sharp, csharpshBrushCSharp.jsC++cpp, cshBrushCpp.jsCSScssshBrushCss.jsDelphidelphi, pas, pascalshBrushDelp..
사용형식 : crontab [ -u 사용자id ] 파일 crontab [ -u 사용자id ] { -l | -r | -e} ■ 실행주기설정crontab파일은 "분 시 일 월 주 실행명령"의 형태로 구성되어있다값을 주지 않을 경우 * 로 표시한다. * * * * * Execute-Command┬ ┬ ┬ ┬ ┬ ┬│ │ │ │ │ └─실행할 명령어 │ │ │ │ └─── 실행할 요일 (0:일요일, 1:월요일, 2:화요일...6:토요일)│ │ │ └───── 실행할 월 (1 ~ 12)│ │ └─────── 실행할 일 (1 ~ 31)│ └───────── 실행할 시간 (0 ~ 23)└─────────── 실행할 분 (0 ~ 59) 각 구성은 콤마(,)를 사용하여 여러개를 줄 수 있다- 를 사용하여 기간을 범위지정..
SuppressWarnings에서 사용가능한 token 리스트들을 정리하면 아래와 같다.출처 : http://stackoverflow.com/questions/1205995/what-is-the-list-of-valid-suppresswarnings-warning-names-in-java Eclipse Galileo에서 사용가능한 token listall to suppress all warningsboxing to suppress warnings relative to boxing/unboxing operationscast to suppress warnings relative to cast operationsdep-ann to suppress warnings relative to deprecated ann..
Eclipce에서 Tomcat 서버 Start 중 Library를 정상적으로 참조하지 못하여아래와 같이 에러 메시지가 발생할 시 처리방법. 심각: Error configuring application listener of class org.springframework.web.context.ContextLoaderListenerjava.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener Project 선택 후 우클릭 >> properties >> Deployment Assembly 선택Add >> Java Build Path Entries >> Maven Dependencies 선택한 >> "Finish" >>..
- Total
- Today
- Yesterday
- beautifuler
- grep
- webtob
- 디렉토리별
- 용량
- brush
- 복구방법
- nmap
- flashback
- 리눅스
- crontab
- 데이터
- 파라미터
- SuppressWarnings
- syntaxhighlighter
- rollback
- firewall
- 포트
- Annotaion
- 명렁어
- parameter
- token
- du
- beautifier
- 날짜
- port
- 룰셋
- pmd
- Scheduled
- 어노테이션
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 | 31 |