This commit is contained in:
Oleg Sheynin 2024-07-23 12:45:04 -04:00
parent 73677b679a
commit aac3b5477f

View File

@ -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}