OT may be: how to limit size of FuzzyOcr.log?
    Julian Field 
    MailScanner at ecs.soton.ac.uk
       
    Tue Oct 31 19:19:08 GMT 2006
    
    
  
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Alex Neuman wrote:
> Arthur Sherman escribió:
>> Howdy,
>>
>> It growes up to 24MB now, and I want to keep it quiet, or at least 
>> limit him
>> in size.
>>
>> Has anyone done this?
>>
>> Thanks!
>>
>>
>> Best,
>>
>> -- 
>> Arthur Sherman
>>
>> +972-52-4878851
>> CPTeam
>>   
> How about running a weekly cron script that does "cat /dev/null > 
> /path/to/your/fuzzyocr.log"?
A shorter command that achieves the same thing is the lovely smiley command
    :> /path/to/your/fuzzyocr.log
':' is the null command. It does nothing and produces null output. The 
'>' redirects that null output to the following filename, so that 
':>file' wipes the contents of "file".
Jules
- -- 
Julian Field MEng CITP
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store
MailScanner customisation, or any advanced system administration help?
Contact me at Jules at Jules.FM
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
For all your IT requirements visit www.transtec.co.uk
-----BEGIN PGP SIGNATURE-----
Version: PGP Desktop 9.5.0 (Build 1112)
Comment: Fetch my public key foot-print from www.mailscanner.info
Charset: ISO-8859-1
wj8DBQFFR6I9EfZZRxQVtlQRArWBAKCHVjbk+25VrqlOuCgskpp+6SH2IgCgtV9l
KXh+v+ZEGk/oVlZsxa4XVeg=
=H/5A
-----END PGP SIGNATURE-----
    
    
More information about the MailScanner
mailing list