Skip to content
Snippets Groups Projects
Commit d7c9d7e3 authored by John-Paul Robinson's avatar John-Paul Robinson
Browse files

Update policy action to yes to trigger proper script calling

The external script will be called with TEST parameter if the
policy is executed in test or prepare mode.
It will only get the LIST files to concat the ouput when the policy
is fully executed.
parent 741ae650
No related branches found
No related tags found
1 merge request!2Feat parsable file names
...@@ -19,7 +19,7 @@ DATESTR=`date +'%Y-%m-%d-%H:%M:%S'` ...@@ -19,7 +19,7 @@ DATESTR=`date +'%Y-%m-%d-%H:%M:%S'`
policy=`basename $policyfile` policy=`basename $policyfile`
filetag="${policy}_slurm-${SLURM_JOBID}_${DATESTR}" filetag="${policy}_slurm-${SLURM_JOBID}_${DATESTR}"
cmd="mmapplypolicy ${filesystem} -I prepare \ cmd="mmapplypolicy ${filesystem} -I yes \
-P $policyfile \ -P $policyfile \
-g $tmpglobal \ -g $tmpglobal \
-s $tmpscratch \ -s $tmpscratch \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment