ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] cron over rsync
@ 2004-12-22 10:01 Serge V Kompan
  2004-12-22 14:28 ` Igor Solovyov
  0 siblings, 1 reply; 3+ messages in thread
From: Serge V Kompan @ 2004-12-22 10:01 UTC (permalink / raw)
  To: community



в системе существует переменная окружения RSYNC_PROXY
Когда запускаю скрипт руками (с помощью rsync синхронизирую
репозитарий) rsync ходит через squid. Но когда я запускаю этот же
скрипт через cron, rsync лезет почему то напрямую минуя squid.

Подскажите как быть?

P.S. делал даже так:

SET ftp_proxy="http://10.6.8.20:8080"
SET http_proxy="http://10.6.8.20:8080"                 
SET RSYNC_PROXY="10.6.8.20:8080"                       
                                                       
32 22 * * * root /etc/rc.d/scripts/rsync_start.sh
                                                       
ftp_proxy="http://10.6.8.20:8080"
http_proxy="http://10.6.8.20:8080"
RSYNC_PROXY="10.6.8.20:8080"
export  RSYNC_PROXY  http_proxy   ftp_proxy
32 22 * * * root /etc/rc.d/scripts/rsync_start.sh

Последний фрагмент писал непосредственно в скрипт: rsync_start.sh
Но это не дало желаемого результата
-- 
С уважением,
 Serge                          



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

end of thread, other threads:[~2004-12-22 15:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-22 10:01 [Comm] cron over rsync Serge V Kompan
2004-12-22 14:28 ` Igor Solovyov
2004-12-22 15:06   ` [Comm] " Michael Shigorin

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