First confirm that you can do sbatch jobs by running
which sbatch in the your terminal and seeing if you have a command for it.
If you do, you can make a text file called “fmriprep.sh” and in the top of the file add the following text (and change the parameters as needed).
#SBATCH -J fmriprep
Then under that paste in your singularity command. Then in terminal, run
sbatch fmriprep.sh and your job should begin running in the background. You will also notice a log file appear in the location you run the command which you can use to monitor your progress.