Project

General

Profile

« Previous | Next » 

Revision 3476

input.Makefile: Staging tables: import/install-%: Run csv2db with a nice increment of +5 to avoid interfering with the user's other processes

View differences:

inputs/input.Makefile
170 170

  
171 171
import/install-%: _always
172 172
	$(if $(isCsv),$(import_install_))
173
import_install_ = (prefix=; . $(bin)/vegbien_dest; "time" env schema=$(datasrc)\
174
table=$* $(bin)/csv2db $(catSrcs)\
173
import_install_ = (prefix=; . $(bin)/vegbien_dest; "time" nice -n +5\
174
env schema=$(datasrc) table=$* $(bin)/csv2db $(catSrcs)\
175 175
$(if $(log),$(if $(quiet),&>,2>&1|tee )import/install-$*.log.sql))
176 176

  
177 177
##### Maps building

Also available in: Unified diff