>> Edit article
이름
제목
패스워드
혹시 스크립을 실행 모드로 바꿔주셨는지? 일단 크론말고 그냥 실행해봐서 테스트 해봐야 겠네요... 건강하세요... : cron에 자바를 등록하여 매일 실행을 시키고 싶습니다. : 서버는 솔라리스 7.0이고... : 맨처음 루트계정으로 : crontab -l > mycron : vi mycron해서 : 0 2 * * * /home1/root/crontest.sh : 라고 등록을 하고 : crontab mycron 해서 mycron에 있는 걸 crontab에 올리고.. : crontest.sh에는 클래스 패스를 지정해주고.. : cd class가 있는 디렉토리 : java Hello : echo " the test is successful..." : : 이라고 설정해주었습니다.제 예상대로라면 제대로 되야할텐데... : /var/mail/root를 살펴보니.. : From root Mon Oct 9 18:21:01 2000 : Received: (from root@localhost) : by boom (8.9.3+Sun/8.9.1) id SAA11399 : for root; Mon, 9 Oct 2000 18:21:01 +0900 (KST) : Date: Mon, 9 Oct 2000 18:21:01 +0900 (KST) : From: Super-User <root> : Message-Id: <200010090921.SAA11399@boom> : To: root : Subject: Output from "cron" command : Content-Type: text : Content-Length: 121 : : Your "cron" job on boom : /home1/root/crontest.sh : : produced the following output: : : sh: /home1/root/crontest.sh: not found : 위와 같은 메세지만 뜹니다. 왜 그런거죠? : 고수님들 나 이거 하나 가지고 지금 며칠째 헤매고 있답니다. : 해결방법 좀 알려주시와~요!!!! : : -- : 이 곳에 서명을 적어주십시오--멋진.....
Copyleft
1999-2026 by
JSBoard Open Project
Theme Designed by
IDOO
All right reserved