File Info

Filename
.command.sh
Full Path
s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/40/8da899b3a8734fac2d18d2cb80c714/.command.sh
Size
278 bytes
Attempt
#!/bin/bash -Ceuo pipefail
echo "Task 2 started at: $(date)" > 2_sleep_result.txt

SLEEP_DURATION=$(shuf -i 1-1 -n 1)

echo "Task 2 sleeping for ${SLEEP_DURATION} minutes" >> 2_sleep_result.txt
sleep ${SLEEP_DURATION}m

echo "Task 2 completed at: $(date)" >> 2_sleep_result.txt