Article 4Z097 cron email without new lines

cron email without new lines

by
aristosv
from LinuxQuestions.org on (#4Z097)
My cron daemon runs a script every hour and sends me an email

/etc/cron.d/hourly
Code:MAILTO='myemail@here.net'
0 * * * * root /root/reminders/hourlyEven though the output of the script appears just fine in the log files, the email I receive is without spaces, as shown in the attached image.

How can I fix this?
Thanks
Attached Thumbnailsattachment.php?attachmentid=32470&stc=1& latest?d=yIl2AUoC8zA latest?i=UuD0WBwluts:xlCuxbKpr5c:F7zBnMy latest?i=UuD0WBwluts:xlCuxbKpr5c:V_sGLiP latest?d=qj6IDK7rITs latest?i=UuD0WBwluts:xlCuxbKpr5c:gIN9vFwUuD0WBwluts
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments