diff --git a/deploy_che.sh b/deploy_che.sh deleted file mode 100644 index a1cce4b3..00000000 --- a/deploy_che.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/bash - -SAM=che -SRC=~/svn/trunk/sam/che/ -TAR=~/www/sam/${SAM}/ -ALT=~/www/sam/${SAM}/ - -if [ -e $TAR ] -then - echo The server is closed. Location: $TAR - rsync -av --delete --exclude=.* --exclude=logs --exclude=data --exclude=d_setting $SRC $TAR -else - echo The server is on service. Location: $ALT - rsync -av --exclude=.* --exclude=logs --exclude=data --exclude=d_setting $SRC $ALT -fi diff --git a/deploy_devel_hwe.sh b/deploy_devel_hwe.sh deleted file mode 100644 index 8d2f15d2..00000000 --- a/deploy_devel_hwe.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash - -SAM=hwe -SRC=~/svn/branches/che_devel/ -TAR=~/www/sam/${SAM}/ -ALT=~/www/sam/${SAM}/ - -if [ -e $TAR ] -then - echo The server is closed. Location: $TAR - rsync -avu --delete --exclude=.* --exclude=logs --exclude=data --exclude=d_setting $SRC $TAR -else - echo The server is on service. Location: $ALT - rsync -avu --exclude=.* --exclude=logs --exclude=data --exclude=d_setting $SRC $ALT -fi - diff --git a/deploy_devel_kwe.sh b/deploy_devel_kwe.sh deleted file mode 100644 index 03038129..00000000 --- a/deploy_devel_kwe.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash - -SAM=kwe -SRC=~/svn/branches/che_devel/ -TAR=~/www/sam/${SAM}/ -ALT=~/www/sam/${SAM}/ - -if [ -e $TAR ] -then - echo The server is closed. Location: $TAR - rsync -avu --delete --exclude=.* --exclude=logs --exclude=data --exclude=d_setting $SRC $TAR -else - echo The server is on service. Location: $ALT - rsync -avu --exclude=.* --exclude=logs --exclude=data --exclude=d_setting $SRC $ALT -fi - diff --git a/deploy_devel_pwe.sh b/deploy_devel_pwe.sh deleted file mode 100644 index 2b814410..00000000 --- a/deploy_devel_pwe.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash - -SAM=pwe -SRC=~/svn/branches/che_devel/ -TAR=~/www/sam/${SAM}/ -ALT=~/www/sam/${SAM}/ - -if [ -e $TAR ] -then - echo The server is closed. Location: $TAR - rsync -avu --delete --exclude=.* --exclude=logs --exclude=data --exclude=d_setting $SRC $TAR -else - echo The server is on service. Location: $ALT - rsync -avu --exclude=.* --exclude=logs --exclude=data --exclude=d_setting $SRC $ALT -fi - diff --git a/deploy_devel_twe.sh b/deploy_devel_twe.sh deleted file mode 100644 index 45394929..00000000 --- a/deploy_devel_twe.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash - -SAM=twe -SRC=~/svn/branches/che_devel/ -TAR=~/www/sam/${SAM}/ -ALT=~/www/sam/${SAM}/ - -if [ -e $TAR ] -then - echo The server is closed. Location: $TAR - rsync -avu --delete --exclude=.* --exclude=logs --exclude=data --exclude=d_setting $SRC $TAR -else - echo The server is on service. Location: $ALT - rsync -avu --exclude=.* --exclude=logs --exclude=data --exclude=d_setting $SRC $ALT -fi - diff --git a/deploy_entry.sh b/deploy_entry.sh deleted file mode 100644 index 4d67816c..00000000 --- a/deploy_entry.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash - -SRC=~/svn/trunk/sam/ -TAR=~/www/sam/ - -echo Location: $SRC '<->' $TAR -rsync -avu --delete --exclude=.* --exclude=deploy* --exclude=d_* --exclude=e_* --exclude=che* --exclude=kwe* --exclude=pwe* --exclude=twe* --exclude=hwe* ~/svn/trunk/sam/ $TAR - diff --git a/process_all.sh b/process_all.sh deleted file mode 100644 index 3ed57ee9..00000000 --- a/process_all.sh +++ /dev/null @@ -1,79 +0,0 @@ -#!/bin/bash - - - -TIME=`date -d "0 hours" "+%H:%M:%S.%N"` -echo [$TIME] --- All start. --- - - - -HOUR=`date -d "0 hours" "+%H"` -HOUR=`expr ${HOUR} + 0` - - - -TAR=/home/jwh1807/www/sam/che/ -if [ -e $TAR ] -then - TIME=`date -d "0 hours" "+%H:%M:%S.%N"` - echo [$TIME] che is closed. -else - curl 62che.com/sam/che/proc.php - TIME=`date -d "0 hours" "+%H:%M:%S.%N"` - echo [$TIME] che finish. -fi - - - -if [ $HOUR -ge 9 -a $HOUR -lt 21 ] -then - TAR=/home/jwh1807/www/sam/kwe/ - if [ -e $TAR ] - then - TIME=`date -d "0 hours" "+%H:%M:%S.%N"` - echo [$TIME] kwe is closed. - else - curl 62che.com/sam/kwe/proc.php - TIME=`date -d "0 hours" "+%H:%M:%S.%N"` - echo [$TIME] kwe finish. - fi - - TAR=/home/jwh1807/www/sam/pwe/ - if [ -e $TAR ] - then - TIME=`date -d "0 hours" "+%H:%M:%S.%N"` - echo [$TIME] pwe is closed. - else - curl 62che.com/sam/pwe/proc.php - TIME=`date -d "0 hours" "+%H:%M:%S.%N"` - echo [$TIME] pwe finish. - fi - - TAR=/home/jwh1807/www/sam/twe/ - if [ -e $TAR ] - then - TIME=`date -d "0 hours" "+%H:%M:%S.%N"` - echo [$TIME] twe is closed. - else - curl 62che.com/sam/twe/proc.php - TIME=`date -d "0 hours" "+%H:%M:%S.%N"` - echo [$TIME] twe finish. - fi - - TAR=/home/jwh1807/www/sam/hwe/ - if [ -e $TAR ] - then - TIME=`date -d "0 hours" "+%H:%M:%S.%N"` - echo [$TIME] hwe is closed. - else - curl 62che.com/sam/hwe/proc.php - TIME=`date -d "0 hours" "+%H:%M:%S.%N"` - echo [$TIME] hwe finish. - fi -else - TIME=`date -d "0 hours" "+%H:%M:%S.%N"` - echo [$TIME] Now is night. -fi - -TIME=`date -d "0 hours" "+%H:%M:%S.%N"` -echo [$TIME] --- All finish. ---