workers/master: dump DB to $tmpdir on failure
This commit is contained in:
parent
8762ce9aca
commit
9aedb06c03
@ -95,7 +95,7 @@ master() {
|
|||||||
return 0
|
return 0
|
||||||
elif (( active == 0 && ready == 0 ))
|
elif (( active == 0 && ready == 0 ))
|
||||||
then
|
then
|
||||||
dumpfile=tasks-$(date +%Y%m%d%H%M%S).csv
|
dumpfile="$tmpdir/tasks-$(date -Iseconds).csv"
|
||||||
cat <<-EOF
|
cat <<-EOF
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user