Posted 08/14/08 at 1:58 PM by Abbi
Hey, it's been a while since I posted bad code. OK! Here we go!
This is a pair of scripts which I use to automatically handle log uploads. My goal was to be able to allow people to upload logs into an FTP directory, and run a script out of cron that would periodically check that directory and do intelligent things. I'm anal, so I wanted the logs to be renamed, organized, and so forth.
It assumes four directories -- one for incoming logs, one for processed logs, one...
|