Have the output of the file mailed to you
sorry I am new to this Linux thing and I am unable to figure out how to send the output of a cronjob to me in a mail. so far my cronjob works and it sends the output to a file (which is timestamped) but when it sends me an e-mail it comes blank!
here is the code:
(1) You are redirecting all output to date-cron.log, (2) you aren't even trying to pass text to your mail command (&& vs |).
Assuming you want just the email:
|All times are GMT -5. The time now is 06:08 AM.|