* randie ursal <[EMAIL PROTECTED]> [1122 02:22]:
> does it mean, there's a fixed no. of log files ang previous log files 
> will not be cleanup by Tomcat, it will just rotate?

'cron is strong in his mountain' as Conan used to say.

Stick

30 2 * * * /usr/bin/find /path/to/logs -name '*log' -type -f -mtime +7d -exec /bin/rm 
{} \;

in your crontab.

-- 
Rasputin :: Jack of All Trades - Master of Nuns

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to