Skip to main content

Emails from cron to root

Comments

4 comments

  • cPanelLauren
    Hi @Rogerio What's the mailto address set in the crontab? Either for the user or for root (if set for root)?
    0
  • Rogerio
    Hello @cPanelLauren, it's the root's crontab "crontab -e" I need to set MAILTO=user@domain forcefully?
    0
  • cPanelLauren
    Hi @Rogerio You'll need to set that mailto to whatever email address you want cron jobs to send mail to. I'm assuming at some point it got changed as the mailto= portion isn't usually filled out.
    0
  • Rogerio
    Hello @cPanelLauren, yes, it was not set. In fact, I learned about this variable yesterday. Thanks
    0

Please sign in to leave a comment.