Changeset 7486 for trunk/MagicSoft/Mars/datacenter/scripts/sourcefile
- Timestamp:
- 02/08/06 18:03:41 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/scripts/sourcefile
r7482 r7486 100 100 } 101 101 102 function checklock() 103 { 104 date > $lockfile 105 checklock0=$? 106 case $checklock0 in 107 0) echo "checklock0=$checklock0 -> continue " ;; 108 1) echo "checklock0=$checklock0 -> file $lockfile exists " 109 echo "-> $@ $program is running -> exit" 110 date 111 exit;; 112 *) echo "checklock0=$checklock0 -> something went completely wrong" ;; 113 esac 114 } 115 102 116 function getdolist() 103 117 { … … 162 176 returncode=$check 163 177 failedcode=$com 164 failedcodeadd=$comadd 178 if ! [ "$comadd" = "" ] 179 then 180 failedcodeadd=$comadd 181 fi 165 182 failedtime="Now()" 166 183 ;;
Note:
See TracChangeset
for help on using the changeset viewer.