Changeset 37118


Ignore:
Timestamp:
2023-01-07T22:39:00+13:00 (4 weeks ago)
Author:
davidb
Message:

Chaged to work using the more generalized form

Location:
gs3-installations/intermuse/trunk/sites/intermuse/collect/programmes
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • gs3-installations/intermuse/trunk/sites/intermuse/collect/programmes/ACTIVATE.sh

    r36990 r37118  
    1 activate.pl -removeold -site intermuse programmes
     1#!/bin/bash
    22
     3source ../_local_collect_config.sh
     4
     5
     6echo "Obtaining lock: gs3-building.flock"
     7
     8#sudo -u $gs_server_username -- \
     9bash -c "pushd ../../../../../ && . ./gs3-setup.sh && popd && flock gs3-building.flock activate.pl -removeold -site $site -library_url $gs_library_url $* \"$col\""
     10
     11echo "Releasing lock: gs3-building.flock"
  • gs3-installations/intermuse/trunk/sites/intermuse/collect/programmes/BUILDCOL.sh

    r36951 r37118  
    1 buildcol.pl -removeold -site intermuse programmes
     1#!/bin/bash
    22
     3source ../_local_collect_config.sh
     4
     5echo "***"
     6echo "* Starting full buildcol"
     7echo "***"
     8
     9echo
     10echo "Start time: `date`"
     11echo
     12
     13
     14echo "Obtaining lock: gs3-building.flock"
     15
     16#sudo -u $gs_server_username -- \
     17bash -c "pushd ../../../../../ && . ./gs3-setup.sh && popd && flock gs3-building.flock buildcol.pl -removeold -site $site $col $*"
     18
     19echo "Releasing lock: gs3-building.flock"
     20
     21
     22echo "***"
     23echo "* Finished full buildcol"
     24echo "***"
     25
     26echo
     27echo "End time: `date`"
     28echo
     29
  • gs3-installations/intermuse/trunk/sites/intermuse/collect/programmes/IMPORT.sh

    r36991 r37118  
    11#!/bin/bash
    22
    3 import.pl -removeold -site intermuse $* programmes
     3source ../_local_collect_config.sh
    44
     5echo "***"
     6echo "* Starting full import"
     7echo "***"
     8
     9echo
     10echo "Start time: `date`"
     11echo
     12
     13
     14echo "Obtaining lock: gs3-building.flock"
     15
     16#sudo -u $gs_server_username -- \
     17bash -c "pushd ../../../../../ && . ./gs3-setup.sh && popd && flock gs3-building.flock import.pl -removeold -site $site $col $*"
     18
     19echo "Releasing lock: gs3-building.flock"
     20
     21
     22echo "***"
     23echo "* Finished full import"
     24echo "***"
     25
     26echo
     27echo "End time: `date`"
     28echo
     29
     30
     31
  • gs3-installations/intermuse/trunk/sites/intermuse/collect/programmes/RECONFIGURE.sh

    r36951 r37118  
    11#!/bin/bash
    22
    3 wget -O /dev/null 'http://localhost:4343/greenstone3/library?a=s&sa=c&sc=programmes'
     3source ../_local_collect_config.sh
    44
     5echo "Obtaining lock: gs3-building.flock"
     6
     7#sudo -u $gs_server_username -- \
     8bash -c "pushd ../../../../../ && . ./gs3-setup.sh && popd && flock gs3-building.flock wget -O /dev/null \"$gs_library_url?a=s&sa=c&sc=$col\""
     9
     10
     11echo "Releasing lock: gs3-building.flock"
     12
Note: See TracChangeset for help on using the changeset viewer.