Generate and email report on SLURM jobs that exist in database.
- needs C executable from https://github.com/cathcart/Cool-code-scraps/tree/master/slurm
- compile the C program according to the instructions in the above repo, put on $PATH and edit
cmd
variable in__get_jobs()
- change the email address in the
send_report()
call
Bonus tip: ssh cluster "python slurm_report.py"
- no need to log in!
All credit to cathcart