Re: [PATCH] time limit

2004-04-21 Thread Chuck Wolber
On Tue, 20 Apr 2004, Daemian Mack wrote: > That's more or less the "ugly hack" referred to previously. It does > work as expected, but personally, I'd rather there were a native rsync > method of achieving this. Less kludgy. What might be even better is if there were a cleaner API that rsync ex

Re: [PATCH] time limit

2004-04-20 Thread John Taylor
On Tue, Apr 20, 2004 at 08:23:56AM -0400, Brian McEntire wrote: > I didn't write the patch, so I can only beg :-) ... > > That patch will be very useful to me too! > > To the patch author: would it be much more trouble to specify a stop time > rather than just a delay? If I want to backup a var

Re: [PATCH] time limit

2004-04-20 Thread Tim Conway
MAIL PROTECTED] /home/cnwt99> Tim Conway Unix System Administration Contractor - IBM Global Services desk:3032734776 [EMAIL PROTECTED] Jan-Benedict Glaw <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 04/20/2004 06:30 AM To [EMAIL PROTECTED] cc Subject Re: [PATCH] time limit

Re: [PATCH] time limit

2004-04-20 Thread Daemian Mack
Jan-Benedict Glaw wrote: I have written a patch for rsync-2.6.1pre-2 which adds a --time-limit=T option. When this option is used rsync will stop after T minutes and exit. I think this option is useful when rsyncing a large amount Okay, nice thing. What about $ echo "killall rsync" | at midnigh

Re: [PATCH] time limit

2004-04-20 Thread Jan-Benedict Glaw
On Mon, 2004-04-19 16:28:08 -0400, John Taylor <[EMAIL PROTECTED]> wrote in message <[EMAIL PROTECTED]>: > I have written a patch for rsync-2.6.1pre-2 which adds a --time-limit=T > option. When this option is used rsync will stop after T minutes > and exit. I think this option is useful when rsy

Re: [PATCH] time limit

2004-04-20 Thread Brian McEntire
I didn't write the patch, so I can only beg :-) ... That patch will be very useful to me too! To the patch author: would it be much more trouble to specify a stop time rather than just a delay? If I want to backup a varying number of systems from cron and limit them to "off hours", the --time-l

Re: [PATCH] time limit

2004-04-20 Thread Daemian Mack
Chuck Wolber wrote: On Mon, 19 Apr 2004, Wayne Davison wrote: On Mon, Apr 19, 2004 at 04:28:08PM -0400, John Taylor wrote: I have written a patch for rsync-2.6.1pre-2 which adds a --time-limit=T option. Thanks -- I've added it to the patches dir for now. If folks think it is useful, it will event

Re: [PATCH] time limit

2004-04-19 Thread Chuck Wolber
On Mon, 19 Apr 2004, Wayne Davison wrote: > On Mon, Apr 19, 2004 at 04:28:08PM -0400, John Taylor wrote: > > I have written a patch for rsync-2.6.1pre-2 which adds a > > --time-limit=T option. > > Thanks -- I've added it to the patches dir for now. If folks think it > is useful, it will eventual

Re: [PATCH] time limit

2004-04-19 Thread Wayne Davison
On Mon, Apr 19, 2004 at 04:28:08PM -0400, John Taylor wrote: > I have written a patch for rsync-2.6.1pre-2 which adds a > --time-limit=T option. Thanks -- I've added it to the patches dir for now. If folks think it is useful, it will eventually get added to the main codebase. ..wayne.. -- To un

Re: [PATCH] time limit

2004-04-19 Thread John Taylor
Oops, it looks like the pasted patch is broken, but the one on the URL is ok. http://www.terry.uga.edu/~jft/rsync-timelimit.patch.gz -John -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

[PATCH] time limit

2004-04-19 Thread John Taylor
Greetings, I have written a patch for rsync-2.6.1pre-2 which adds a --time-limit=T option. When this option is used rsync will stop after T minutes and exit. I think this option is useful when rsyncing a large amount of data during the night (non-busy hours), and then stopping when it is time f