From: Vitaly Ostanin <vyt@vzljot.ru>
To: community@altlinux.ru
Subject: [Comm] Re: ежечасный logrotate
Date: Tue, 02 Aug 2005 15:38:06 +0400
Message-ID: <42EF5B1E.6060300@vzljot.ru> (raw)
In-Reply-To: <20050802133515.40d85712.aphlux@mail.ru>
[-- Attachment #1: Type: text/plain, Size: 932 bytes --]
Michael Isachenkov пишет:
>>logrotate и этого не умеет, это crond делает. А logrotate у него
>>один из запускаемых скриптов (и уже из него - сам logrotate с
>>конфигом).
>>
>>Пропишите logrotate руту в 'crontab -e' на каждый час, и уберите
>>из daily/weekly.
>
> Я правильно понимаю, что он будет ротейтить на каждом запуске все, что прописано без явного указания, когда или по какому размеру ротейтить?
> Иначе говоря, я меняю умолчальное значение с дня на час? :)
Умолчательное значение чего? Есть crond, который выполняет
скрипты по заданному времени. Есть системные задания, задания
root и задания пользователей.
Вы можете убрать logrotate из системных заданий, если вас не
устраивают стандартные cron.daily и т.п., и добавить его в
задания рута. Кстати, cron.hourly в crontabs-1.8-alt1 есть.
PS Это азы, лучше разобраться до конца.
--
Regards, Vyt
mailto: vyt@vzljot.ru
JID: vyt@vzljot.ru
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 256 bytes --]
next prev parent reply other threads:[~2005-08-02 11:38 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-27 9:05 [Comm] " Michael Isachenkov
2005-07-27 11:33 ` Alexey Morsov
2005-07-27 13:49 ` Michael Isachenkov
2005-07-27 14:04 ` Anton Gorlov
2005-08-02 9:29 ` [Comm] " Vitaly Ostanin
2005-08-02 9:35 ` Michael Isachenkov
2005-08-02 11:38 ` Vitaly Ostanin [this message]
2005-08-02 11:45 ` Michael Isachenkov
2005-08-02 12:01 ` Vitaly Ostanin
2005-08-02 12:09 ` Michael Isachenkov
2005-08-02 12:50 ` Vitaly Ostanin
2005-08-02 13:05 ` Vitaly Ostanin
2005-08-02 13:15 ` Michael Isachenkov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=42EF5B1E.6060300@vzljot.ru \
--to=vyt@vzljot.ru \
--cc=community@altlinux.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git