Menu

disable mail setup/only log to file

Tony_T
2009-09-03
2013-05-29
  • Tony_T

    Tony_T - 2009-09-03

    Great script!
    How do you disable mail setup and only log to a file?
    The log file in the script is not working? I am not sure why...any help is appreciated.
    Tony

     
    • Chris Janton

      Chris Janton - 2009-09-03

      comment out the last few lines of the script

      eval rm -f "$LOGFILE"
      eval rm -f "$LOGERR"

      and set MAILCONTENT="quiet"

      you'll still get the log if there are errors, otherwise the log file is saved on disk.

       
    • Tony_T

      Tony_T - 2009-09-03

      Thanks! I will try that.
      Our admin would rather not receive an email at all...is there a way to just disable the mail option?
      Tony

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.