Skip to main content

Script to get cpanel access logs through email

Comments

2 comments

  • User Avatar
    vanessa
    If you're running it as a cron, just set the MAILTO in the crontab to email you the results.
    0
  • User Avatar
    quietFinn
    How about this? /usr/bin/grep 'SUCCESS' /usr/local/cpanel/logs/login_log | mail -s SUBJECTHERE EMAILHERE
    0

Please sign in to leave a comment.