Project

General

Profile

« Previous | Next » 

Revision 5206

README.TXT: Data import: import_all: Don't run with & because this prevents the created jobs from being owned by the calling shell. Instead, import the TNRS names as a separate backgrounded step and wait for it to finish before starting import_all. Removed TNRS import steps from import_all since these are now invoked separately.

View differences:

bin/import_all
11 11
        return 2
12 12
    fi
13 13
    
14
    make inputs/.TNRS/cleanup
15
    make inputs/.TNRS/import "$@"
16 14
    make inputs/.TNRS/tnrs/tnrs-remake &
17 15
    . "$selfDir/with_all" import "$@"
18 16
}
README.TXT
22 22
        To save it: make schemas/rotate
23 23
        Important: This must be done *after* running make_analytical_db on a
24 24
            previous import
25
    Start column-based import: . bin/import_all by_col=1 &
26
        To use row-based import: . bin/import_all &
25
    Import the TNRS names:
26
        make inputs/.TNRS/cleanup; make inputs/.TNRS/import by_col=1 &
27
    Wait for the TNRS import to finish: wait
28
    Start column-based import: . bin/import_all by_col=1
29
        To use row-based import: . bin/import_all
27 30
        To stop all running imports: . bin/stop_imports
28 31
    Wait (overnight) for the import to finish
29 32
    ./bin/make_analytical_db &

Also available in: Unified diff