On Fri, 29 Sep 2000 07:08 Ben Logan wrote:
>I was very low on disk space and netscape kept eating it all up--mine
>would delete the cache, but wouldn't limit it at all.  So I wrote a
>script to search the /home directory structure and remove the caches
>if they were greater than 1M.  Whenever it removes one, it writes a
>message to a log file in /var/log.  Then I simply but a link to this
>script in /etc/cron.daily.

I would probably write the log entry to the system log using the 'logger'
command. That way I would not have to worry about log rotation.

-- 
Anthony E. Greene <[EMAIL PROTECTED]> <http://www.pobox.com/~agreene/>
PGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26  C484 A42A 60DD 6C94 239D
AIM: TonyG05    ICQ: 91183266    Jabber: TonyGreene
Linux. The choice of a GNU Generation. <http://www.linux.org/>



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to