|
Well you mentioned that you had a script that would trawl your web directories. (and that it does this part well)
So with you now trawling I assume you know what log files to look into.
Once you find that log file you can spit its contents out using the command cat. Apply some redirection to this >> (doubled for append) and you get
cat log >> /path/to/main/log
which is similar to echo this text file out to screen 'cat' but catch it '>>' and put it into that other file '/path/to/main/log'. Once thats done you can then rm (remove) log.
If you drop us in your script that trawls the dir's I can edit it for you and post it back. Would be easier I suppose than making assumptions and documenting them here.
Failing that it wont take long to put one together. I do assume that when your asking for cron job scripts that your on a Linux box?
Ibbo
Last edited by ibbo; 06-12-2006 at 09:17 AM..
|