9d44445a77c9481b087864904bfbe189955af554 lrnassar Fri Feb 21 11:25:58 2025 -0800 I forgot to remove a troubleshooting stanza. Oops. Refs #34321 diff --git src/utils/qa/makeDownloadFileList.sh src/utils/qa/makeDownloadFileList.sh index 0f0f0ad16d0..cf7ea0ced58 100755 --- src/utils/qa/makeDownloadFileList.sh +++ src/utils/qa/makeDownloadFileList.sh @@ -1,28 +1,23 @@ #!/bin/bash # Get date format for file name today=$(date +"%d-%m-%Y") # Get the current day of the month for cron report day=$(date +%d) -# Echo only if it's the 1st -if [[ "$day" == "01" ]]; then - echo "I ran!" -fi - ssh qateam@hgdownload2 "find /usr/local/apache/htdocs/ -type f -print0 2>/dev/null | xargs -0 stat" > /hive/users/qateam/hgDowloadFileLists/download2.htdocs.$today.txt ssh qateam@hgdownload2 "find /data/ -type f -print0 2>/dev/null | xargs -0 stat" > /hive/users/qateam/hgDowloadFileLists/download2.data.$today.txt ssh qateam@hgdownload1 "find /usr/local/apache/htdocs/ -type f -print0 2>/dev/null | xargs -0 stat" > /hive/users/qateam/hgDowloadFileLists/download1.htdocs.$today.txt ssh qateam@hgdownload1 "find /data/ -type f -print0 2>/dev/null | xargs -0 stat" > /hive/users/qateam/hgDowloadFileLists/download1.data.$today.txt # Echo only if it's the 1st if [[ "$day" == "01" ]]; then echo "hgDownload file list complete. See file list here: /hive/users/qateam/hgDowloadFileLists/" echo "" echo "Latest file e.g. /hive/users/qateam/hgDowloadFileLists/download1.data.$today.txt" echo "" echo "Preview of file to ensure it is running correctly:" head /hive/users/qateam/hgDowloadFileLists/download1.data.$today.txt fi