Changeset 7486 for trunk/MagicSoft/Mars/datacenter/scripts/checkstardone
- Timestamp:
- 02/08/06 18:03:41 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/MagicSoft/Mars/datacenter/scripts/checkstardone ΒΆ
r7482 r7486 56 56 57 57 # check if script is already running 58 date > $lockfile >> $scriptlog 2>&1 59 checklock0=$? 60 case $checklock0 in 61 0) echo "checklock0=$checklock0 -> continue " >> $scriptlog 2>&1;; 62 1) echo "checklock0=$checklock0 -> file exists " >> $scriptlog 2>&1 63 echo "-> $program is running -> exit" >> $scriptlog 2>&1 64 date >> $scriptlog 2>&1 65 exit;; 66 *) echo "checklock0=$checklock0 -> something went completely wrong" >> $scriptlog 2>&1;; 67 esac 58 checklock >> $scriptlog 2>&1 68 59 69 60 # get todo list
Note:
See TracChangeset
for help on using the changeset viewer.