Skip to main content
cPanel Technical Support has been heavily impacted by hurricane Beryl and our ability to respond to tickets has been hindered as a result. We appreciate your understanding and patience as we address these delays.

Script to get cpanel access logs through email

Comments

2 comments

  • vanessa
    If you're running it as a cron, just set the MAILTO in the crontab to email you the results.
    0
  • 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.