Changeset 75 for nutchez-0.1/bin/nutchez
- Timestamp:
- Jun 3, 2009, 5:44:01 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
nutchez-0.1/bin/nutchez
r72 r75 14 14 export NUTCH_CONF_DIR=~/.nutchez 15 15 export HADOOP_CONF_DIR=~/.nutchez 16 export HADOOP_LOG_DIR=~/.nutchez/log 16 export NUTCH_LOG_DIR=~/.nutchez/log 17 # export NUTCH_HOME=/opt/nutch 17 18 18 19 . /opt/nutch/bin/nutchez-func.sh … … 65 66 # START , back, cancel 66 67 # start =0 , back =1 67 if [ $FC -eq 0 ];then 68 #go_to_M3 69 CHECK=1 70 # change temp file as conf file 71 promote_tempfile 72 else 73 #go_to_M1 74 LOCK=1 75 CHECK=0 76 # temp file delete! 77 clean_tempfile 78 #return_console 79 fi 68 #if [ $FC -eq 0 ];then 69 case $FC in 70 0) 71 #go_to_M3 72 CHECK=1 73 # change temp file as conf file 74 promote_tempfile 75 ;; 76 #else 77 1) 78 exit 79 ;; 80 3) 81 #go_to_M1 82 LOCK=1 83 CHECK=0 84 # temp file delete! 85 clean_tempfile 86 #return_console 87 ;; 88 255) 89 echo_vb "ESC pressed !!" 90 ;; 91 esac 92 #fi 80 93 done 81 94 82 95 start_crawl 83 96 84 start_tomcat97 #start_tomcat 85 98 86 99 # show result message 87 100 88 show_report101 #show_report 89 102 90 103 # Done
Note: See TracChangeset
for help on using the changeset viewer.