November 13, 20169 yr Hi, I have Unraid 6.2.4 Pro and I want send email after wakeup or sleeping server. How is build in function/command for send email? I will use pre/post scripts in S3 sleeping function. Many thanks for any answer
November 13, 20169 yr The raw command would be sendmail http://www.computerhope.com/unix/usendmai.htm But it would probably be far easier to use the built-in notification system (/usr/local/emhttp/plugins/dynamix/scripts/notify) notify [-e "event"] [-s "subject"] [-d "description"] [-i "normal|warning|alert"] [-m "message"] [-x] [-t] [add] create a notification use -e to specify the event use -s to specify a subject use -d to specify a short description use -i to specify the severity use -m to specify a message (long description) use -x to create a single notification ticket use -t to force send email only (for testing) all options are optional
November 16, 20169 yr Author Squid, "Notify" is interesting but how I do notify "event/trigger" due to sleeping and wake-up with this script? I know how works the command "notify". My UnRaid server now announces and sends e-mails before go to sleeping and wake-up from sleep. Squid, many thanks for good idea!
Archived
This topic is now archived and is closed to further replies.