From cb66ba59f7770a23119dd135a9386d6b1629e8d9 Mon Sep 17 00:00:00 2001 From: Felix Lohmeier Date: Wed, 20 Apr 2022 13:59:14 +0200 Subject: [PATCH] generate script --- orcli | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/orcli b/orcli index 647a833..383cf01 100755 --- a/orcli +++ b/orcli @@ -624,7 +624,7 @@ orcli_batch_command() { fi # start OpenRefine with tmp workspace and autosave period 25 hours - $openrefine -d "$tmpdir" -m "${args[--memory]}" -p "${args[--port]}" -x refine.autosave=1440 -v warn &>"$tmpdir/openrefine.log" & + REFINE_AUTOSAVE_PERIOD=1440 $openrefine -d "$tmpdir" -m "${args[--memory]}" -p "${args[--port]}" -x refine.headless=true -v warn &>"$tmpdir/openrefine.log" & openrefine_pid="$!" # update trap to kill OpenRefine on error or exit