Например, logrotate может быть вызван для запуска файла или нескольких файлов в любой комбинации или кратности ежечасно (hourly), ежедневно (daily), еженедельно (weekly), ежемесячно (monthly) и ежегодно (yearly), через скрипты, размещенные в /etc/ в уже существующих каталогах hourly daily weekly monthly, каталог yearly может быть добавлен при необходимости. crontab[1] можно использовать для запуска logrotate или настолько сложных скриптов, насколько это необходимо. logrotate можно комбинировать с другими инструментами, которые пользователь может придумать, чтобы обрабатывать эти ротируемые файлы в любое время и с любой частотой.
Cookies help us deliver our services. By using our services, you agree to our use of cookies.