test.zip



.bat.bb 는 .bat으로 고쳐야 함.




install.bat :

서비스 등록용 배치 파일 (서비스명은 ServiceName 변수값 고치면됨. BatchService 사용중)

관리자 모드로 실행해야함


uninstall.bat :

서비스 제거용 배치 파일 (서비스명은 ServiceName 변수값 고치면됨. BatchService 사용중)

관리자 모드로 실행해야함


service.bat : 

서비스로 등록될 파일.

실행시마다 ${날짜}.service.log 파일에 실행결과 기록됨. (ex : 2014-07-03.service.log)

현재 10초마다 http://localhost/test.html 호출하고 기록함(test.html 은 good job만 출력함)

nssm.exe :

http://nssm.cc/


curl.exe :

http://curl.haxx.se/


test.html :

호출할 html 페이지 샘플


'C++' 카테고리의 다른 글

LFH (Low Fragmentation Heap), TBB alloc  (0) 2016.08.08
c++ subversion static libray 컴파일  (0) 2016.02.02
boost 컴파일  (0) 2016.01.22
스택 사용량 계산  (0) 2015.03.25
mongodb client driver 컴파일  (0) 2014.05.15
매크로는 이런식으로 쓰면 좀 편함.  (0) 2014.03.28
리버싱  (0) 2014.03.28
숫자 범위 추출 및 확장  (0) 2014.03.13