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