ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] Q: nice cron jobs?
@ 2002-01-20 11:28 Michael Shigorin
  2002-01-21 10:58 ` Dmitry V. Levin
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Shigorin @ 2002-01-20 11:28 UTC (permalink / raw)
  To: ALT Linux devel

[-- Attachment #1: Type: text/plain, Size: 270 bytes --]

	Здравствуйте.
А не запускать ли slocate, makewhatis и других под nice?

В идеале хотелось бы иметь "ждущий" запуск (при LA меньше
заданной) -- я когда-то так себе сделал.

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ http://visa.chem.univ.kiev.ua/~mike/

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [devel] Q: nice cron jobs?
  2002-01-20 11:28 [devel] Q: nice cron jobs? Michael Shigorin
@ 2002-01-21 10:58 ` Dmitry V. Levin
  2002-01-21 11:28   ` Yura Zotov
  0 siblings, 1 reply; 3+ messages in thread
From: Dmitry V. Levin @ 2002-01-21 10:58 UTC (permalink / raw)
  To: ALT Linux devel

[-- Attachment #1: Type: text/plain, Size: 680 bytes --]

On Sun, Jan 20, 2002 at 01:28:19PM +0200, Michael Shigorin wrote:
> А не запускать ли slocate, makewhatis и других под nice?

А не сделать ли это по-умолчанию для crond?

> В идеале хотелось бы иметь "ждущий" запуск (при LA меньше
> заданной) -- я когда-то так себе сделал.

Это, кстати, умеет at.


Regards,
	Dmitry

+-------------------------------------------------------------------------+
Dmitry V. Levin     mailto://ldv@alt-linux.org
ALT Linux Team      http://www.altlinux.com/
Fandra Project      http://www.fandra.org/
+-------------------------------------------------------------------------+
UNIX is user friendly. It's just very selective about who its friends are.

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [devel] Q: nice cron jobs?
  2002-01-21 10:58 ` Dmitry V. Levin
@ 2002-01-21 11:28   ` Yura Zotov
  0 siblings, 0 replies; 3+ messages in thread
From: Yura Zotov @ 2002-01-21 11:28 UTC (permalink / raw)
  To: ALT Linux devel

On Mon, Jan 21, 2002 at 01:58:05PM +0300, Dmitry V. Levin wrote:
> On Sun, Jan 20, 2002 at 01:28:19PM +0200, Michael Shigorin wrote:
> > А не запускать ли slocate, makewhatis и других под nice?
> 
> А не сделать ли это по-умолчанию для crond?
> 
> > В идеале хотелось бы иметь "ждущий" запуск (при LA меньше
> > заданной) -- я когда-то так себе сделал.
> 
> Это, кстати, умеет at.
> 
> 

У меня уже давно задания крону через batch запускаются

05 5 * * * root echo "run-parts /etc/cron.daily" | batch > /dev/null 2>&1
10 5 * * 0 root echo "run-parts /etc/cron.weekly" | batch > /dev/null 2>&1

Никаких проблем.


--
Юрий А. Зотов



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-01-21 11:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-20 11:28 [devel] Q: nice cron jobs? Michael Shigorin
2002-01-21 10:58 ` Dmitry V. Levin
2002-01-21 11:28   ` Yura Zotov

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git