small fix / now tested working

This commit is contained in:
Radek
2025-02-25 10:18:02 +00:00
parent c5c55e156f
commit 042f0871d2
5 changed files with 91 additions and 9 deletions

View File

@@ -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")