* [Comm] cron
@ 2004-12-22 8:48 Serge V Kompan
0 siblings, 0 replies; only message in thread
From: Serge V Kompan @ 2004-12-22 8:48 UTC (permalink / raw)
To: mike
Добрый день!
в системе существует переменная окружения 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] only message in thread
only message in thread, other threads:[~2004-12-22 8:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-22 8:48 [Comm] cron Serge V Kompan
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