Changeset 7486 for trunk/MagicSoft/Mars/datacenter/scripts/linkmc
- Timestamp:
- 02/08/06 18:03:41 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/scripts/linkmc
r7472 r7486 43 43 44 44 user=`whoami` 45 program=linkmc 45 46 source /home/$user/Mars/datacenter/scripts/sourcefile 46 47 … … 55 56 # check if script is already running 56 57 lockfile=$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 58 checklock >> $scriptlog 2>&1 67 59 68 60 mccampath=/montecarlo/camera
Note:
See TracChangeset
for help on using the changeset viewer.