#!/bin/bash -l # Give job a name #$ -N jobs_tasks # Join output and error streams to reduce the clutter #$ -j y # Specify the number of tasks (number of parallel jobs you want to run #$ -t 1-5 # Make sure you create logs directory before submitting this job (mkdir logs) #$ -o logs # specify version of the software module load R/4.4.0 Rscript task.R