Skip to content

Instantly share code, notes, and snippets.

@clintonhalpin
Created December 6, 2016 16:27
Show Gist options
  • Save clintonhalpin/e8c39d3b8a163fc15a3d2ca32b2e318f to your computer and use it in GitHub Desktop.
Save clintonhalpin/e8c39d3b8a163fc15a3d2ca32b2e318f to your computer and use it in GitHub Desktop.

In my case, the message was hinting at a permissions problem with the bash script, but I couldn't see it until I installed an MTA.

As suggested I ran:

sudo aptitude install postfix I chose "Local" during setup and after running the cron job again:

sudo tail -f /var/mail/ In my case I replaced

with "root".

I was then able to see the error output related to permissions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment