Stats of processed input files as CSV or JSON, and of uploaded output files as CSV or JSON (up to 10000 files included)
File reset events, by site
Site
Allocated
Outputting
UK_RAL-Tier1
0
7
NL_SURFsara
0
2
US_PuertoRico
0
1
Jobscript
#!/bin/bash
: <<'EOF'
Hello World jobscript for justIN
Submit a workflow like this to run 10 jobs:
justin simple-workflow --monte-carlo 10 --jobscript hello-world.jobscript
Or like this to run jobs and put the output file into Rucio-managed storage:
justin simple-workflow \
--monte-carlo 10 \
--jobscript hello-world.jobscript \
--description 'Hello World!!!' \
--scope usertests \
--output-pattern 'hello-world-*.txt:output-test-01' \
--lifetime-days 1
EOF
# Try to get an unprocessed file from this stage
# The justin-get-file command must ALWAYS be present, even for MC workflows
did_pfn_rse=`$JUSTIN_PATH/justin-get-file`
if [ "$did_pfn_rse" != "" ] ; then
did=`echo $did_pfn_rse | cut -f1 -d' '`
pfn=`echo $did_pfn_rse | cut -f2 -d' '`
rse=`echo $did_pfn_rse | cut -f3 -d' '`
# Hello world to a txt file
echo "Hello world $pfn" >hello-world-`date +%s.%N.txt`
# Hello world to the jobscript log
echo "Hello world $pfn"
if [ $? = 0 ] ; then
# If echo returns 0, then say we processed the file successfully
echo "$pfn" > justin-processed-pfns.txt
fi
fi
exit 0
justIN time: 2025-12-18 16:15:41 UTC justIN version: 01.06.rc4