Ignore:
Timestamp:
02/08/06 18:03:41 (19 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r7472 r7486  
    4343
    4444user=`whoami`
     45program=linkmc
    4546source /home/$user/Mars/datacenter/scripts/sourcefile
    4647
     
    5556# check if script is already running
    5657lockfile=$lockpath/lock-mclinks.txt
    57 date > $lockfile >> $scriptlog 2>&1
    58 checklock0=$?
    59 case $checklock0 in
    60     0)   echo "checklock0=$checklock0 -> continue " >> $scriptlog 2>&1;;
    61     1)   echo "checklock0=$checklock0 -> file exists " >> $scriptlog 2>&1
    62          echo "-> linkmc is running -> exit" >> $scriptlog 2>&1
    63          date  >> $scriptlog 2>&1
    64          exit;;
    65     *)   echo "checklock0=$checklock0 -> something went completely wrong" >> $scriptlog 2>&1;;
    66 esac
     58checklock  >> $scriptlog 2>&1
    6759
    6860mccampath=/montecarlo/camera
Note: See TracChangeset for help on using the changeset viewer.