Changeset 7907 for trunk/MagicSoft/Mars/datacenter/scripts/copyscript
- Timestamp:
- 08/22/06 09:40:48 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/scripts/copyscript
r7902 r7907 212 212 catalog=$setuppath/$magfav #current catalogfile 213 213 diff=$setuppath/.diff #file to store difference 214 #addresses to which the changes are sent215 adrs="datacenter@astro.uni-wuerzburg.de, tbretz@astro.uni-wuerzburg.de"216 214 217 215 #getting new catalogfiles … … 240 238 cat $diff | grep '<' >> $scriptlog 2>&1 241 239 echo " -> please check the file $catfile" >> $scriptlog 2>&1 242 #inform $adr about removed lines240 #inform $adrs about removed lines 243 241 nail -s 'catalogfile - removed lines' $adrs < $diff 244 242 exit … … 262 260 exit 263 261 fi 264 #inform $adr about changes262 #inform $adrs about changes 265 263 echo "file has been rsynced sucessfully -> sending email" >> $scriptlog 2>&1 266 264 nail -s 'new catalogfile installed - new lines' $adrs < $diff … … 273 271 cat $diff | grep '<' >> $scriptlog 2>&1 274 272 echo " -> please check the file $catfile" >> $scriptlog 2>&1 275 #inform $adr about removed lines273 #inform $adrs about removed lines 276 274 nail -s 'catalogfile - removed lines' $adrs < $diff 277 275 exit
Note:
See TracChangeset
for help on using the changeset viewer.