<div dir="ltr">...something like "sinfo | grep drain && mail -s 'drain nodes' <recipient address> "<br><div><br></div><div>...will work...</div><div><br></div><div>Substitute "draining" or "drained" for "drain" to taste...</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Jun 12, 2021 at 4:32 PM Rodrigo Santibáñez <<a href="mailto:rsantibanez.uchile@gmail.com">rsantibanez.uchile@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi SLURM users,</div><div><br></div><div>Does anyone have a cronjob or similar to monitor and warn via e-mail when a node is in draining/drain status?<br></div><div><br></div><div>Thank you.</div><div><br></div><div>Best regards.</div><div>Rodrigo Santibáñez<br></div></div>
</blockquote></div>