View Single Post
  #21  
Old 02-18-2012, 02:57 AM
tristantio tristantio is offline
Fire Giant

tristantio's Avatar

Join Date: Nov 2010
Posts: 888
Default

Well guys, I am going to have PC shut down for a bit, hopefully someone else sends up some logs. If you're interested, below is my small shell script (Linux) for reading and sending the log contents from a toon parked in EC with /log turned on.

Code:
#!/bin/bash

LOGDIR=~/eqLogs
for f in $LOGDIR/eqlog*; do
   #Quickly check and make sure its been updated in last minute if we're going to send it
   echo "Checking $f"
   let now=$(date +%s)-60
   [ $(stat --printf=%Z $f) -lt $now ] && continue;
   echo "Working with: $f"
   curl -F "dump=$(tail -n100 $f)" http://ahungry.com/aucDump.php
done
__________________
Realtime auction logger: http://ahungry.com/eqauctions/
Last edited by tristantio; 02-20-2012 at 12:18 PM..
Reply With Quote