Hello Roshan, > Can not customized MailProg script query the sacct for the details of > the job you require and append it to the mail? Right.
> Out of interest can you share how we can point the MailProg to a > customised script? We do it like this: MailProg=/etc/slurm/mailwrapper.sh /etc/slurm/mailwrapper.sh: # Expected arguments are: $1="-s", $2=mail subject, $3=mail recipient ... job_info=$($SACCT --jobs=$job_id --allocations --noheader --parsable2 \ --format JobName,NodeList,Partition,User,Account,ExitCode,Timelimit,NCPUS,NNodes,\ ReqMem,Submit,Start,End,Elapsed,State,Comment) || exit ... # compose a nice body..- and send it Best regards, Ulf -- ___________________________________________________________________ Dr. Ulf Markwardt Technische Universität Dresden Center for Information Services and High Performance Computing (ZIH) 01062 Dresden, Germany Phone: (+49) 351/463-33640 WWW: http://www.tu-dresden.de/zih
smime.p7s
Description: S/MIME Cryptographic Signature
