0 Replies
      Latest reply on May 7, 2020 7:17 AM by javierdemartin
      javierdemartin Level 1 Level 1 (0 points)

        I am running several cron jobs on a Mac server. Some time ago I don't know why I deactivated the cron logs into the local mail of the system. I now am getting errors running those cronjobs and I am not able to take a look at the logs as they are not generated.

         

         

        Is there a way to reactivate this behavior?

         

         

        I tried adding this line on top of the cronjob definition file, cronjob -e

         

        MAILTO="/var/mail/MY_USERNAME"

         

        With no result, previously whenever a cron ran I was getting on the console a message indicating that I had new mail as the result has been appended to the mail. I can't seem to reactivate this behavior and when I open `mail` from console the inbox is empty.