I'm trying to automate our RAID check results. When we invoke the command manually, it works fine and emails the results as intended. However, once we schedule it into a cron, we get a blank email
The command is:
tw_cli info c0 | /bin/mail -s "Current RAID Status: $HOSTNAME" email@example.com
This command works as intended. It just sends blank emails *only* via cron.
Anyone have any ideas? Driving me buggy