#!/bin/bash -l #SBATCH --job-name=batch #SBATCH --cpus-per-task=1 #SBATCH --time 1-00:00:00 #SBATCH --mail-user=danni.gadd@biogen.com #SBATCH --mail-type=END,FAIL #SBATCH --array=1-24 module load R srun Rscript 12_Sensitivity_individual_cox.R $SLURM_ARRAY_TASK_ID