ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Alex <info@atmsk.ru>
To: mandrake-russian@altlinux.ru
Subject: [mdk-re] скрипт из под крона не хочет перенаправлятьвывод
Date: Sun Sep  2 00:25:00 2001
Message-ID: <01090200292703.05360@perec.local> (raw)

есть скрипт для сканирования arp

arp -a | grep : > /arplog/`date +"%d-%m-%Y(%hh:%mm:%ss)"`

как нетрудно заметить эта его часть выводит значащую часть кеша arp в файл с 
именем из даты и времени сего события.
 
из консоли работает на ура, запускаю через at - тоже пожалуйста.
запускаю из крона - файл создается, но пустой. :(
думаю - дело либо в запуске нескольких шелов кроном и соответственно вывод 
одной команды из одного шела не попадает на вход в команду из другого шела. 
либо дело в отсутствии стандартного вывода при запуске из под крона - а чего 
делать?
круглые скобки не помогли :(

-- 
С уважением . АВЛ



             reply	other threads:[~2001-09-02  0:25 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-02  0:25 Alex [this message]
2001-09-04 10:23 ` [mdk-re] " Vladimir Karpinsky
2001-09-04 11:39   ` Yuri Borunov
2001-09-04 11:55   ` [mdk-re] File creation time in Linux & others Henri Bourbon
2001-09-04 12:26     ` Vladimir Karpinsky
2001-09-04 15:27       ` Re[2]: " Henri Bourbon
2001-09-06 10:53         ` Re[3]: " Vladimir Karpinsky
2001-09-04 12:56     ` [mdk-re] Re: скрипт из под крона не хочет перенаправлятьвывод Mikhail Zabaluev
2001-09-05  8:15       ` [mdk-re] Re: ÓËÒÉÐÔ ÉÚ ÐÏÄ ËÒÏÎÁ ÎÅ ÈÏÞÅÔ ÐÅÒÅÎÁÐÒÁ×ÌÑÔØ×Ù×ÏÄ Russu V.F.

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=01090200292703.05360@perec.local \
    --to=info@atmsk.ru \
    --cc=mandrake-russian@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