Changeset 34968


Ignore:
Timestamp:
2021-03-18T19:08:48+13:00 (3 years ago)
Author:
anupama
Message:
  1. Adding Dr Bainbridge's PDF deoptimizing scripts to SVN, since they've been tested for several dlheritage batch uploads. Also committing some echo statements following Dr Bainbridge's example in IMPORT.sh, so that long running scripts can be run as nohup since I've now successfully been able to follow Dr Bainbridge's nohup commands with a new dlheritage upload batch and the scripts ran to completion even when I logged out.
Location:
main/trunk/model-sites-dev/heritage-nz/collect/pdf-reports
Files:
3 added
3 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/model-sites-dev/heritage-nz/collect/pdf-reports/BUILDCOL.sh

    r33681 r34968  
    44col=${cwd##*/}
    55
     6
     7echo "***"
     8echo "* Starting full buildcol"
     9echo "***"
     10
     11echo
     12echo "Start time: `date`"
     13echo
     14
     15
    616echo "Obtaining lock: gs3-building.flock"
    717flock gs3-building.flock buildcol.pl -removeold -site heritage-nz $* "$col"
    818echo "Releasing lock: gs3-building.flock"
     19
     20
     21echo "***"
     22echo "* Finished full buildcol"
     23echo "***"
     24
     25echo
     26echo "End time: `date`"
     27echo
  • main/trunk/model-sites-dev/heritage-nz/collect/pdf-reports/FULL-REBUILD.sh

    r33277 r34968  
    11#!/bin/bash
    22
    3 echo "Started full rebuild (import.pl and buildcol.pl) `date`" > build-stats.txt && ./IMPORT.sh && ./BUILDCOL.sh && ./ACTIVATE.sh && echo "Finished build `date`" >> build-stats.txt
     3echo "Started full rebuild (import.pl and buildcol.pl): `date`" > build-stats.txt \
     4  && ./IMPORT.sh \
     5  && ./BUILDCOL.sh \
     6  && echo "  + started deoptimize-all-pdfs:  `date`" >> build-stats.txt \
     7  && ./DEOPTIMIZE-ALL-BUILDING-ASSOC-PDF-FILE.sh \
     8  && echo "  + finished deoptimize-all-pdfs: `date`" >> build-stats.txt \
     9  && ./ACTIVATE.sh \
     10  && echo "Finished build `date`" >> build-stats.txt
  • main/trunk/model-sites-dev/heritage-nz/collect/pdf-reports/IMPORT.sh

    r33029 r34968  
    44col=${cwd##*/}
    55
     6echo "***"
     7echo "* Starting full import"
     8echo "***"
     9
     10echo
     11echo "Start time: `date`"
     12echo
     13
    614import.pl -removeold -site heritage-nz $* "$col"
     15
     16echo "***"
     17echo "* Finished full import"
     18echo "***"
     19
     20echo
     21echo "End time: `date`"
     22echo
Note: See TracChangeset for help on using the changeset viewer.