SyntaxFix
Write A Post
Hire A Developer
Questions
echo "Sending emails ..." NOW=$(date +"%F %H:%M") echo $NOW " Running service" >> open_files.log header=`echo "Service Restarting: " $NOW` mail -s "$header" [email protected], \ [email protected], \ < open_files.log