Changeset 7460 for trunk/MagicSoft/Mars/datacenter/scripts/insertsequences
- Timestamp:
- 01/10/06 22:12:58 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/scripts/insertsequences
r7370 r7460 20 20 # Author(s): Daniela Dorner 08/2004 <mailto:dorner@astro.uni-wuerzburg.de> 21 21 # 22 # Copyright: MAGIC Software Development, 2000-200 422 # Copyright: MAGIC Software Development, 2000-2006 23 23 # 24 24 # 25 25 # ======================================================================== 26 26 # 27 # This script launches the inserting of sequences into the db. 28 # It is not used in the automatic processing of data, but only for 29 # inserting of manual written sequences. 27 30 # 31 # Find manual written sequence files and insert information into the 32 # database using the macro insertsequence.C 33 # 28 34 29 35 user=`whoami` … … 44 50 date >> $scriptlog 2>&1 45 51 52 # check if script is already running 46 53 date > $lockpath/lock-insertsequences.txt >> $scriptlog 2>&1 47 54 checklock0=$? … … 55 62 esac 56 63 57 64 # finding manual written sequence files (marked by the comment '#manually changed') 58 65 sequencefiles=(`grep -R '#manually changed' $sequpath/ | cut -c 1-42`) 59 66 echo "sequencefiles: "${sequencefiles[@]} >> $scriptlog 2>&1 60 67 echo "" >> $scriptlog 2>&1 61 68 69 # process sequencefiles: insert information into the database 62 70 for sequencefile in ${sequencefiles[@]} 63 71 do
Note:
See TracChangeset
for help on using the changeset viewer.