fix cp: preserving times for 'PRICETICKER': Operation not permitted.
This commit is contained in:
parent
5da62a6b54
commit
bf4abfa617
@ -17,7 +17,7 @@ function get_assets {
|
|||||||
#cat ${g_tmp}/API_CMD_OUT | jq -r '.[] | select(.state=="ACTIVE") | .instrument_code + "," + .last_price' | sed 's/_//' | grep "${CURRENCY}," | egrep -v "${TRANSFER_CURRENCY},|,0[\.][0]*$" >${f_filename}_OUT.tmp
|
#cat ${g_tmp}/API_CMD_OUT | jq -r '.[] | select(.state=="ACTIVE") | .instrument_code + "," + .last_price' | sed 's/_//' | grep "${CURRENCY}," | egrep -v "${TRANSFER_CURRENCY},|,0[\.][0]*$" >${f_filename}_OUT.tmp
|
||||||
cat ${g_tmp}/API_CMD_OUT | jq -r '.[] | .instrument_code + "," + .last_price' | sed 's/_//' | grep "${CURRENCY}," | egrep -v "${TRANSFER_CURRENCY},|,0[\.][0]*$" >${f_filename}_OUT.tmp
|
cat ${g_tmp}/API_CMD_OUT | jq -r '.[] | .instrument_code + "," + .last_price' | sed 's/_//' | grep "${CURRENCY}," | egrep -v "${TRANSFER_CURRENCY},|,0[\.][0]*$" >${f_filename}_OUT.tmp
|
||||||
fi
|
fi
|
||||||
cp -p ${g_tmp}/API_CMD_OUT PRICETICKER
|
cat ${g_tmp}/API_CMD_OUT >PRICETICKER
|
||||||
|
|
||||||
# timestamp for data
|
# timestamp for data
|
||||||
#f_timestamp=$(g_date_print)
|
#f_timestamp=$(g_date_print)
|
||||||
|
Loading…
Reference in New Issue
Block a user