- Timestamp:
- 02/08/06 18:03:41 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/scripts/checkfilesforsequenceavail
r7482 r7486 55 55 56 56 # check if script is already running 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 "-> $program 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 57 checklock >> $scriptlog 2>&1 67 58 68 59 # get todo list
Note:
See TracChangeset
for help on using the changeset viewer.