Search code examples
lsf

Can I suppress an LSF job report without sending mail?


I would like to submit a job with Platform LSF and have the output placed in a file (bsub -o), without a job report at the end of it. Using bsub -N removes the job report from the file, but instead sends the report via e-mail. Is there a way to suppress it completely?


Solution

  • How about redirecting the output of the command to a file and sending the report to /dev/null:

    bsub -o /dev/null "ls > job.\$LSB_JOBID.out"