Ignore:
Timestamp:
Oct 20, 2011, 11:07:40 AM (13 years ago)
Author:
torrento
Message:

version adaptee a grid engin (ana)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BAORadio/AmasNancay/trunk/onoffmaker.sh

    r575 r579  
    8181
    8282#Path where the job will do temporary IO
    83 if [ ${ENVIRONMENT} = "INTERACTIVE" ]; then
    84     iojobpath="/sps/baoradio/AmasNancay/JEC"
    85     $MKDIR -p $iojobpath
    86     $ECHO "Usage in INTERACTIVE may be destructive... To be used with great care !!!!"
    87     exit 0;
    88 elif [ ${ENVIRONMENT} = "BATCH" ] ; then
    89     iojobpath=${TMPBATCH}
    90 else
    91     $ECHO "FATAL (${scriptName}): environment is ${ENVIRONMENT} not allowed"
    92     exit 1
     83. ${SCRIPTPATH}/isInteractive.sh
     84isInteractive=$(isInteractive)
     85if [ ${isInteractive} == "1" ]; then
     86  $ECHO "Usage in INTERACTIVE may be destructive... To be used with great care !!!!"
     87   exit 0;
    9388fi
     89
     90. ${SCRIPTPATH}/set_iojobpath.sh
     91iojobpath=$(set_iojobpath)
    9492cd ${iojobpath}
    9593
Note: See TracChangeset for help on using the changeset viewer.