ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Sodom <sodom@sodom.ru>
To: "Artem K. Jouravsky" <community@altlinux.ru>
Subject: Re[2]: [Comm] Очистить каталог по крону
Date: Thu, 25 Mar 2004 18:24:45 +0300
Message-ID: <726312068.20040325182445@sodom.ru> (raw)
In-Reply-To: <20040325152102.GA25587@ujo.office.sema.ru>

Здравствуйте, Artem.

Вы писали 25 марта 2004 г., 18:21:02:

AKJ> On Thu, Mar 25, 2004 at 04:57:32PM +0300, Ivanov Maxim wrote:
>> Здравствуйте, community.
>> 
>> Прошу прощения, наверное дикий вопрос:
>> хочу в /etc/cron.daily прописать очистку раз в сутки самбовской
>> помойки. Как это сделать грамотно?
>> 
>> #!bin/sh
>> rm -R -f /home/tmp/
>> 
>> Похоже?
AKJ> Лучше бы так, например:
AKJ> #!/bin/sh
AKJ> find /home/tmp/ -mtime -1 -print0|xargs -0 rm -f

tmpwatch

AKJ> --
AKJ> С уважением,
AKJ>    Артём.
AKJ> ЗАО "СЕМА.РУ"
AKJ> ************
AKJ> You have acquired a scroll entitled 'irk gleknow mizk'(n).--More--

AKJ> This is an IBM Manual scroll.--More--

AKJ> You are permanently confused.
AKJ> 		-- Dave Decot
AKJ> _______________________________________________
AKJ> Community mailing list
AKJ> Community@altlinux.ru
AKJ> http://lists.altlinux.ru/mailman/listinfo/community



-- 
С уважением,
 Sodom                          mailto:sodom@sodom.ru



  reply	other threads:[~2004-03-25 15:24 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-25 13:57 Ivanov Maxim
2004-03-25 15:15 ` Grigory Milev
2004-03-25 15:43   ` [Comm] " Michael Shigorin
2004-03-25 15:21 ` [Comm] " Artem K. Jouravsky
2004-03-25 15:24   ` Sodom [this message]
2004-03-25 22:48   ` Denis Klykvin
2004-03-26  9:01     ` Artem K. Jouravsky
2004-03-26  9:57       ` Denis Klykvin
2004-03-26  4:26   ` Mike Lykov

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=726312068.20040325182445@sodom.ru \
    --to=sodom@sodom.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