Slurm can notify the user by email when certain types of events occur using options such as --mail-type
and --mail-user
.
The emails I receive this way contain a void body and a title that looks like :
SLURM Job_id=9228 Name=toto Ended, Run time 07:32:31, COMPLETED, ExitCode 0
I'd like to configure slurm so that the title or even better the body of the email contains other informations in a similar way of what the slurm command squeue --format
returns.
(actually I'd like the email to contain the comment I set up using sbatch --comment
)