Skip to content

Commit

Permalink
BF: CS-848 logchecker.sh to support old and new accounting format
Browse files Browse the repository at this point in the history
  • Loading branch information
dgruber committed Dec 9, 2024
1 parent dbe7dff commit 8a0d21e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion source/dist/util/logchecker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,12 @@ if [ $ACTION_ON = 1 -o $ACTION_ON = 4 ]; then
fi

if [ $ACCT = yes ]; then
sge_logcheck 2 $SGE_ROOT/$SGE_CELL/common/accounting.jsonl
if [ -f $SGE_ROOT/$SGE_CELL/common/accounting.jsonl ]; then
sge_logcheck 2 $SGE_ROOT/$SGE_CELL/common/accounting.jsonl
fi
if [ -f $SGE_ROOT/$SGE_CELL/common/accounting ]; then
sge_logcheck 2 $SGE_ROOT/$SGE_CELL/common/accounting
fi
fi
fi

Expand Down

0 comments on commit 8a0d21e

Please sign in to comment.