Update run_azcopy-multi-dir-multi-container.sh
try remove unicode hidden char
This commit is contained in:
@@ -45,7 +45,7 @@ fi
|
||||
echo $$ > "$LOCK_FILE"
|
||||
|
||||
# Function to check business hours
|
||||
# This will ensure we do not run at times when the server might need to do other things.
|
||||
# This will ensure we do not run at times when the server might need to do other things.
|
||||
is_business_hours() {
|
||||
HOUR=$(date +%H | sed 's/^0*//') # Remove leading zeros causing errors at morning times
|
||||
#HOUR=$(printf "%d" "$(date +%H)") # Convert to decimal safely / this had an issue for some reason not working
|
||||
|
||||
Reference in New Issue
Block a user