✨ add kill task to save time and disk space (alternative to stop task)
This commit is contained in:
parent
201e838d17
commit
080ccc27f3
|
@ -129,7 +129,6 @@ Please file an [issue](https://github.com/opencultureconsulting/openrefine-task-
|
||||||
## To do
|
## To do
|
||||||
|
|
||||||
- [ ] hide OpenRefine install by renaming directory to .openrefine
|
- [ ] hide OpenRefine install by renaming directory to .openrefine
|
||||||
- [ ] add kill task to save time by skipping storing an OpenRefine project archive
|
|
||||||
- [ ] differentiate examples
|
- [ ] differentiate examples
|
||||||
- [ ] example for loading multiple input files by providing a zip archive
|
- [ ] example for loading multiple input files by providing a zip archive
|
||||||
- [ ] example for download "fresh" input data as a dependent task and generating archives/diffs
|
- [ ] example for download "fresh" input data as a dependent task and generating archives/diffs
|
||||||
|
|
|
@ -83,6 +83,13 @@ tasks:
|
||||||
.
|
.
|
||||||
- rm -rf ./*.project* workspace.json # delete temporary files
|
- rm -rf ./*.project* workspace.json # delete temporary files
|
||||||
|
|
||||||
|
kill:
|
||||||
|
dir: ./{{.DIR}}
|
||||||
|
cmds:
|
||||||
|
- | # shut down OpenRefine immediately to save time and disk space
|
||||||
|
kill -9 $(lsof -t -i:{{.PORT}})
|
||||||
|
- rm -rf ./*.project* workspace.json # delete temporary files
|
||||||
|
|
||||||
check:
|
check:
|
||||||
desc: check OpenRefine log for any warnings and exit on error
|
desc: check OpenRefine log for any warnings and exit on error
|
||||||
dir: ./{{.DIR}}
|
dir: ./{{.DIR}}
|
||||||
|
|
Loading…
Reference in New Issue