macOS tools moving to my git

This commit is contained in:
2026-05-10 12:53:30 -07:00
parent 61c0d4b5f1
commit 83156ea9e8
101 changed files with 3011 additions and 0 deletions

4
send_wake_email.sh Executable file
View File

@@ -0,0 +1,4 @@
#/bin/bash
export HOSTNAME=`hostname`
log show --style syslog --last 1h | fgrep "Wake reason" > /tmp/wakereasons.txt
mail -s "[$HOSTNAME] Wake Reasons 1h" smtp="emailz.d27n.com:587" -S smtp-use-starttls -S smtp-auth=login -S smtp-auth-user="steve@d27n.com" -S smtp-auth-password="L2sC7JikwX" -S ssl-verify=ignore steve@d27n.com < /tmp/wakereasons.txt