ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Alex Murygin <murygin@tut.by>
To: community@altlinux.ru
Subject: Re: [Comm] запуск задания чаще 1й минуты
Date: Tue, 4 Feb 2003 16:15:49 +0200
Message-ID: <20030204161549.2360942a.murygin@tut.by> (raw)
In-Reply-To: <20030204165957.3f887a4f.gnomik@mtv.ru>

On Tue, 4 Feb 2003 16:59:57 +0300
Andrew Nazarkin <gnomik@mtv.ru> wrote:

> On Tue, 4 Feb 2003 18:42:01 +0500
> vic ismakaev <viclists@mail.esoo.ru> wrote:
> 
> > 4 Февраль 2003 18:33, Vladimir Alyekhin написал:
> > > Hi vic!
> > >
> > > On Tue, Feb 04, 2003 at 05:59:42PM +0500, you wrote:
> > > > Приветствую!
> > > > Друзья,не подскажете мне,как называется прога(аналог
> > > > crond),которая позволяет выполнять задания чаще чем одна
> > > > минута(с секундным дискретом времени).
> > >
> > > не проще ли в этом случае эти задания выполнять каким-либо
> > > демоном?
> > Проще конечно.Но для этого надо написать этого демона,чего я не
> > умею.:)-- 
> 
> Ну тогда так:
> #!/bin/sh
> while true
> do
> 	echo Hello! -  это комманда
> 	sleep 5  - молчать 5 сек.
> done

Сори что вмешиваюсь, а если `echo Hello!` будет выполняться по каким-то
причинам 50 секунд? :)

я обычно делал в самом кроне
* * * * * root /root/bin/first.sh
* * * * * root sleep 20; /root/bin/second.sh
* * * * * root sleep 40; /root/bin/third.sh

может неправ :)
> 
> 
> Пускаешь скрипт в фоне и наслаждаешься )))
> 
> 
> 
> > С уважением
> > Виктор В Исмакаев
> > _______________________________________________
> > Community mailing list
> > Community@altlinux.ru
> > http://www.altlinux.ru/mailman/listinfo/community
> 
> 
> _______________________________________________
> Community mailing list
> Community@altlinux.ru
> http://www.altlinux.ru/mailman/listinfo/community


  reply	other threads:[~2003-02-04 14:15 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-04 12:59 vic ismakaev
2003-02-04 13:31 ` Alexei Bayguzov
2003-02-04 13:41   ` vic ismakaev
2003-02-04 14:08     ` [Comm] Re[2]: " isa
2003-02-05  6:42       ` Oleg K. Artemjev
2003-02-05  6:55         ` vic ismakaev
2003-02-04 13:33 ` Vladimir Alyekhin
2003-02-04 13:42   ` vic ismakaev
2003-02-04 13:52     ` Grigory Milev
2003-02-04 13:59     ` Andrew Nazarkin
2003-02-04 14:15       ` Alex Murygin [this message]
2003-02-04 14:15     ` Yura Kalinichenko
2003-02-04 14:23       ` vic ismakaev

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=20030204161549.2360942a.murygin@tut.by \
    --to=murygin@tut.by \
    --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