Mails sent from crontab jobs running on your servers may content the following error message :
Unexpected EOF while looking for matching `””
syntax error: unexpected end of file
This is due to the fact that you’re using a command with % options such as the date command.
The crontab daemon misinterprets this sign %. Place a backslash quote before it to make it usable by the date command.
Have a look at this example :
***** echo $(date +%F)>>/tmp/date.txtrewritten into this way :
***** echo $(date +\%F)>>/tmp/date2.txt
Thanks for the tip. More details here