# name=summary.`date --rfc-3339=seconds` # echo Subject: Dell Cluster log summary # echo for lfile in `python /home/ignis/log_notification_mailer/query_slurm.py` do echo $lfile echo -------------------------------------------------------------------------------- tail -n 10000 $lfile | grep "Time\|(T)\|(p)\|(Phi)" | tail -n 10 echo ================================================================================ echo done