I got mail when the server booted back. make a backup, upgrade your hardware, or restart your computer). Is it only affecting certain departments, buildings or locations? echo “${SHUTDOWNBODY}” | mail -s “${SHUTDOWNSUBJECT}” ${EMAIL} Most employees are out of the office, but the few who are working need to know when the servers will be unavailable. A workflow process notifies only working employees of the server shutdown. Doing it on shutdown, could mean the server is in a already unhappy state and may not send the email. Can someone give me a fix for this problem? : Can’t open /etc/init.d/functions, You may use these HTML tags and attributes:
, # Description: Sends an email at system start and shutdown, #############################################, # #, # Send an email on system start/stop to #, # a user. Admittedly, this usually means it will be a very inconvenient time for the IT administrators. I would like the computer to send me an email everytime it starts or it shuts down. The data warehouses are not refreshing data between 12/24/2020 and 01/01/2021. EMAIL=”[email protected]”
Blog