[CT420]: Add 'tee' command to query.sh
This commit is contained in:
@ -12,7 +12,7 @@ for i in $(seq 1 24); do
|
|||||||
gsub(/ +/, "\t");
|
gsub(/ +/, "\t");
|
||||||
print(timestamp "\t" $0);
|
print(timestamp "\t" $0);
|
||||||
}
|
}
|
||||||
' >> "$file"
|
' | tee "$file"
|
||||||
|
|
||||||
# do nothing for 20 minutes
|
# do nothing for 20 minutes
|
||||||
sleep 20m
|
sleep 20m
|
||||||
|
Reference in New Issue
Block a user