-1
I own a script
, and would like it to send an email to users informing the time that the same was executed.
Example:
$script_deploy.sh
# Envio de e-mail aviso deploy
echo "=> Envio de e-mail para os usuarios sobre o inicio do deploy"
mail -s "DEPLOY" [email protected] < /opt/email-inicio-deploy.txt
$/opt/email-inicio-deploy.txt
echo "Informamos que o sistema tera um deploy as `date +%H:%M`"
Well, the email arrives with the following text:
Informamos que o sistema tera um deploy as `date +%H:%M`
How do I do for command date
be interpreted?
I’ve tried so many ways and I couldn’t.
You can indicate the shapes you’ve tried?
– MauroAlmeida