Ignore:
Timestamp:
02/03/06 16:49:10 (19 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/datacenter/scripts/makecallistolinks

    r7476 r7477  
    3434
    3535user=`whoami`
     36program=makecallistolinks
    3637source /home/$user/Mars/datacenter/scripts/sourcefile
    3738
     
    4142callistorcnew=callisto_Dec04Jan05.rc
    4243
    43 scriptlogpath=$logpath/run/makecallistolinks/`date +%Y/%m/%d`
     44scriptlogpath=$logpath/run/$program/`date +%Y/%m/%d`
    4445makedir $scriptlogpath
    45 scriptlog=$scriptlogpath/makingcallistolinks`date +%F`.log
     46scriptlog=$scriptlogpath/$program`date +%F`.log
    4647
    4748date >> $scriptlog 2>&1
    4849
    4950# check if script is already running
    50 lockfile=$lockpath/lock-making-callisto-links.txt
     51lockfile=$lockpath/lock-$program.txt
    5152date > $lockfile >> $scriptlog 2>&1
    5253checklock0=$?
     
    5455    0)   echo "checklock0=$checklock0 -> continue " >> $scriptlog 2>&1;;
    5556    1)   echo "checklock0=$checklock0 -> file exists " >> $scriptlog 2>&1
    56          echo "-> makecallistolinks is running -> exit" >> $scriptlog 2>&1
     57         echo "-> $program is running -> exit" >> $scriptlog 2>&1
    5758         date  >> $scriptlog 2>&1
    5859         exit;;
Note: See TracChangeset for help on using the changeset viewer.