ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Михаил Шувалов" <shuvalov.mv@gmail.com>
To: "ALT Linux Community general discussions" <community@lists.altlinux.org>
Subject: [Comm] ошибка cron
Date: Sun, 22 Feb 2009 23:15:00 +0300
Message-ID: <200902222315.07258.shuvalov.mv@gmail.com> (raw)

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

Здравствуйте!

С некоторых пор каждый час начали сыпаться сообщения от крона на имя меня 
любимого и рута с темой "Cron <mike@mikes-ws> root run-parts /etc/cron.hourly" 
такого содержания:

/bin/sh: root: command not found

При этом что у меня, что у рута:

[root@mikes-ws cron.daily]# crontab -u mike -l
# run-parts
01 * * * * root run-parts /etc/cron.hourly
02 4 * * * root run-parts /etc/cron.daily
22 4 * * 0 root run-parts /etc/cron.weekly
42 4 1 * * root run-parts /etc/cron.monthly

[root@mikes-ws cron.daily]# crontab -l
# run-parts
01 * * * * root run-parts /etc/cron.hourly
02 4 * * * root run-parts /etc/cron.daily
22 4 * * 0 root run-parts /etc/cron.weekly
42 4 1 * * root run-parts /etc/cron.monthly

В /etc/cron.hourly было пусто. Положил туда скрипт  000anacron, который лежал 
в трех остальных директориях:

[root@mikes-ws cron.hourly]# cat ./000anacron
#!/bin/bash
#
# anacron's cron script
#
# This script updates anacron time stamps. It is called through run-parts
# either by anacron itself or by cron.
#
# The script is called "000anacron" to assure that it will be executed
# _before_ all other scripts.

exec /usr/sbin/anacron -u cron.hourly

Ситуация не изменилась :( Что еще ему надо? В каком скрипте искать ошибку?

-- 
С уважением,
Михаил Шувалов	

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

             reply	other threads:[~2009-02-22 20:15 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-22 20:15 Михаил Шувалов [this message]
2009-02-22 20:19 ` Andrey Rahmatullin
2009-02-22 23:05   ` Yuri Bushmelev
2009-02-23  0:17     ` Dmitry V. Levin
2009-02-23 10:55       ` Михаил Шувалов
2009-02-23 16:29         ` Andrey Rahmatullin
2009-02-25 17:43           ` Михаил Шувалов
2009-02-25 17:45             ` Anatol B. Bazyukin
2009-02-25 21:21               ` Михаил Шувалов
2009-02-25 21:22                 ` Хихин Руслан
2009-02-23 13:04       ` Yuri Bushmelev
2009-02-23  7:31     ` Andrey Rahmatullin
2009-02-23 10:42     ` Михаил Шувалов
2009-02-23 10:03   ` Михаил Шувалов

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=200902222315.07258.shuvalov.mv@gmail.com \
    --to=shuvalov.mv@gmail.com \
    --cc=community@lists.altlinux.org \
    /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