View Single Post
Old 02-02-2016, 05:50 PM   #1167
mariosipad
Guru
mariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watch
 
Posts: 726
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
Great solution!

Mine is a little different but needs some more testing. Once this is done I will post my solution.

Just one observation. Are you sure this line
Code:
grep getJSON $LOGFILE | mail -s "subject line $DATE" email-address
gives you unique results?

I see "getJSON" multiple times per login in /var/log/apache2/access.log (other_vhosts_access.log is empty on my system = Debian Squeeze and/or Mint 17.0 with Apache).

Last edited by mariosipad; 02-02-2016 at 05:51 PM. Reason: typo's
mariosipad is offline   Reply With Quote