자주쓰는 날짜 모음
#!/bin/bash
DT=$(date -d "-1 hour" +"%Y%m%d")
DT2=$(date -d "$DT -2 day" +"%Y%m%d")
DT3=$(date -d "$DT -4 day" +"%Y%m%d")
DT4=$(date -d "$DT -6 day" +"%Y%m%d")
HR=$(date -d "-1 hour" +"%k" | tr -d "[:space:]")
WD="/fxflowapp"
TODAY=$(date +%Y%m%d)
work_dir=$(dirname $0)
logDir="${work_dir}/log/${TODAY}/${HR}"