Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Conversion corrections

...

Code Block
 ...
 SCHEDULER_BINDIR="`dirname $0`"
 
 if [ -x "${SCHEDULER_BINDIR}/jobscheduler_environment_variables.sh" ]
 then
   . "${SCHEDULER_BINDIR}/jobscheduler_environment_variables.sh"
 else
   SCHEDULER_BINDIR="<span style="color:red">[installation path]/bin</span>bin"
   if [ -x "${SCHEDULER_BINDIR}/jobscheduler_environment_variables.sh" ]
   then
     . "${SCHEDULER_BINDIR}/jobscheduler_environment_variables.sh"
   else
     echo "... the file ${SCHEDULER_BINDIR}/jobscheduler_environment_variables.sh doesn't exist."
     exit 4
   fi
 fi
 
 if [ -x "${SCHEDULER_BINDIR}/../user_bin/jobscheduler_environment_variables.sh" ]
 then
   . "${SCHEDULER_BINDIR}/../user_bin/jobscheduler_environment_variables.sh"
 fi
 ...

where you have to set the installation path of the JobScheduler into above line SCHEDULER_BINDIR="installation path/bin".