Changeset 173


Ignore:
Timestamp:
05/01/09 14:49:13 (16 years ago)
Author:
Mathieu Morlighem
Message:

Fixed nightly runs

Location:
issm/trunk/cron
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/cron/linux_cronfile

    r97 r173  
    1 0 01 * * * cd /u/wilkes-r1b/morlighe/issm/trunk/cron/ && ./nightlyrun.sh
     101 0 * * * cd /u/wilkes-r1b/morlighe/svn/issm/trunk/cron/ && ./nightlyrun.sh
  • issm/trunk/cron/nightlyrun.sh

    r97 r173  
    1111#create ISSM variables
    1212OLDISSM_DIR=$ISSM_DIR;
    13 export ISSM_DIR="/u/wilkes-r1b/morlighe/issm/trunk/cron/issm/trunk"
     13export ISSM_DIR="/u/wilkes-r1b/morlighe/svn/issm/trunk/cron/svn/issm/trunk"
    1414ISSM_RELEASE="issm";
    1515
     
    1919
    2020#Erase code
    21 rm -rf $ISSM_RELEASE
     21rm -rf svn
    2222
    2323#Fetch svn code
    24 svn checkout file:///u/wilkes-r1b/larour/Repository/issm
    25 
     24svn checkout http://s383-rhat/issm/svn
    2625source $ISSM_DIR/etc/environment.sh
    2726
     
    5554make
    5655make install
     56
     57#5: change issm.rc
     58cd etc
     59cat issm.rc | sed -e "s/server_codepath=\/u\/wilkes-r1b\/larour\/Ice\/ice1.proto\/bin/server_codepath=\/u\/wilkes-r1b\/morlighe\/svn\/issm\/trunk\/cron\/svn\/issm\/trunk\/bin/g" | sed -e "s/server_executionpath=\/home\/larour\/Testing\/Execution/server_executionpath=\/u\/wilkes-r1b\/morlighe\/Execution/g"> issm.bak
     60mv issm.bak issm.rc
     61cd ..
    5762
    5863#Figure out mailing list
     
    8893
    8994#Erase ice code
    90 cd ..
    91 rm -rf $ISSM_RELEASE
    92 
    93 #back to old ISSM_DIR
    94 ISSM_DIR=$OLDISSM_DIR
    95 export ISSM_DIR
     95cd ../../../
     96rm -rf svn
Note: See TracChangeset for help on using the changeset viewer.