Skip to content

Commit

Permalink
small updates
Browse files Browse the repository at this point in the history
  • Loading branch information
mu2epro committed Aug 4, 2023
1 parent 18cd3ee commit 7c71326
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Util/functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -361,12 +361,12 @@ release_SAM_file() {
watchdog() {

local TL=$1
[ -z "$TLIMIT" ] && TL=7200
[ -z "$TL" ] && TL=7200

DD=/pnfs/mu2e/scratch/users/$GRID_USER/watchdog

[ -z "$MU2E" ] && source /cvmfs/mu2e.opensciencegrid.org/setupmu2e-art.sh
[ -z "$SETUP_IFDH" ] && setup ifdhc
[ -z "$SETUP_IFDHC" ] && setup ifdhc

ifdh mkdir_p $DD

Expand Down Expand Up @@ -399,3 +399,6 @@ watchdog() {


}

# so watchdog can be run in a subshell
export -f watchdog
5 changes: 5 additions & 0 deletions Util/wrapper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ source /cvmfs/mu2e.opensciencegrid.org/bin/OfflineOps/functions.sh

tee_date Starting OfflineOps/wrapper.sh

tee_date Check LANG
printenv | grep LC_
printenv LANG
unset LC_CTYPE

# always need to find setup
source /cvmfs/mu2e.opensciencegrid.org/setupmu2e-art.sh

Expand Down

0 comments on commit 7c71326

Please sign in to comment.