ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Re: cron over rsync
@ 2004-12-22 15:59 Serge V Kompan
  2004-12-24  8:58 ` Andrew Fefilov
  0 siblings, 1 reply; 2+ messages in thread
From: Serge V Kompan @ 2004-12-22 15:59 UTC (permalink / raw)
  To: community


>> > 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"                       
> 
> Эт где?
> 
>> EXPORT .... попробуйте? :-)
> 
> Скорее export тогда.



> Ну или написать скриптик, там это всё
> выставить и уже его из cron и дёргать.
Так делал, но ничего не помогло.
Наконец то после такого вот манипулирования получил что хотел:
22 15 * * * root (RSYNC_PROXY="10.6.8.20:8080"; export RSYNC_PROXY; /etc/rc.d/scripts/rsync_start.sh;)

 --
С уважением,
 Serge                          



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

* Re: [Comm] Re: cron over rsync
  2004-12-22 15:59 [Comm] Re: cron over rsync Serge V Kompan
@ 2004-12-24  8:58 ` Andrew Fefilov
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Fefilov @ 2004-12-24  8:58 UTC (permalink / raw)
  To: community

On Wed, Dec 22, 2004 at 05:59:08PM +0200, Serge V Kompan wrote:
> 
> >> > 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"                       
> > 
> > Эт где?
> > 
> >> EXPORT .... попробуйте? :-)
> > 
> > Скорее export тогда.
> 
> 
> 
> > Ну или написать скриптик, там это всё
> > выставить и уже его из cron и дёргать.
> Так делал, но ничего не помогло.
> Наконец то после такого вот манипулирования получил что хотел:
> 22 15 * * * root (RSYNC_PROXY="10.6.8.20:8080"; export RSYNC_PROXY; /etc/rc.d/scripts/rsync_start.sh;)

присвоение и экспорт можно было сделать одной строкой:
export RSYNC_PROXY="10.6.8.20:8080"


-- 
С уважением,
Фефилов Андрей.


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

end of thread, other threads:[~2004-12-24  8:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-22 15:59 [Comm] Re: cron over rsync Serge V Kompan
2004-12-24  8:58 ` Andrew Fefilov

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