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/copyscript

    r7476 r7486  
    5858
    5959user=`whoami`
     60program=copyscript
    6061source /home/$user/Mars/datacenter/scripts/sourcefile
    6162
     
    7778
    7879# check if the script is already running
    79 date > $lockfile >> $scriptlog 2>&1
    80 checklock0=$?
    81 case $checklock0 in
    82     0)   echo "checklock0=$checklock0 -> continue " >> $scriptlog 2>&1;;
    83     1)   echo "checklock0=$checklock0 -> file exists " >> $scriptlog 2>&1
    84          echo "-> copyscript is running -> exit" >> $scriptlog 2>&1
    85          date  >> $scriptlog 2>&1
    86          exit;;
    87     *)   echo "checklock0=$checklock0 -> something went completely wrong" >> $scriptlog 2>&1;;
    88 esac
     80checklock  >> $scriptlog 2>&1
    8981
    9082cd $transdir
Note: See TracChangeset for help on using the changeset viewer.