Revision 7237
Added by Aaron Marcuse-Kubitza almost 12 years ago
inputs/.TNRS/public.unscrubbed_taxondetermination_view/scrub.make | ||
---|---|---|
26 | 26 |
rowsAdded () |
27 | 27 |
{ |
28 | 28 |
test -e "$log_" || { echo "Log does not exist: $log_" >&2; exit;} |
29 |
tail -10 "$log_"|grep -E '^Inserted [1-9][0-9]* new rows into database$' \ |
|
29 |
tail -100 "$log_"|grep -E '^Inserted [1-9][0-9]* new rows into database$' \
|
|
30 | 30 |
>/dev/null |
31 | 31 |
} |
32 | 32 |
|
Also available in: Unified diff
inputs/.TNRS/public.unscrubbed_taxondetermination_view/scrub.make: rowsAdded(): Look at last 100 rows instead of last 10, because rows are added to the log file each time the script waits and the Inserted # new rows message must be in the tailed rows