progress
This commit is contained in:
parent
73677b679a
commit
aac3b5477f
@ -58,12 +58,7 @@ while true; do
|
|||||||
Start=$(date -d "${Start} - 1 day" "+%Y-%m-%d")
|
Start=$(date -d "${Start} - 1 day" "+%Y-%m-%d")
|
||||||
done
|
done
|
||||||
|
|
||||||
End=$(date -d "${Start} + 1 day" "+%Y-%m-%d")
|
End=${Start} # only 1 day is practical
|
||||||
|
|
||||||
# Exclude today
|
|
||||||
if [ "${End}" == $(date '+%Y-%m-%d') ] ; then
|
|
||||||
End=$(date -d 'yesterday' ''+%Y-%m-%d'')
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "${NumJobs}" == "" ] ; then
|
if [ "${NumJobs}" == "" ] ; then
|
||||||
NumJobs=${DEFAULT_NUM_JOBS}
|
NumJobs=${DEFAULT_NUM_JOBS}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user