small fix / now tested working
This commit is contained in:
@@ -1,15 +1,18 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Enter the specific 'work directory'Ensure we collect logs and other files in the one place.
|
||||
cd /opt/AZURE || exit 1
|
||||
|
||||
# Configurable variables
|
||||
BUSINESS_HOURS_START=7
|
||||
BUSINESS_HOURS_END=15
|
||||
AZURE_URL="https://<>.core.windows.net/<container>"
|
||||
AZURE_SAS="<add key here>"
|
||||
BUSINESS_HOURS_START=9
|
||||
BUSINESS_HOURS_END=20
|
||||
AZURE_URL=""
|
||||
AZURE_SAS=""
|
||||
|
||||
# Arguments
|
||||
SOURCE_DIR="$1"
|
||||
LOGGING="${2:-false}" # Default to no logs
|
||||
BANDWIDTH_CAP="${3:-0}" # Default is 0 (no cap)
|
||||
BANDWIDTH_CAP="${3:-0}" # Default is 0 (no bw limit)
|
||||
|
||||
# Report files
|
||||
TIMESTAMP=$(date +"%Y%m%d_%H%M%S")
|
||||
|
||||
Reference in New Issue
Block a user