[PATCH] time limit
Jan-Benedict Glaw
jbglaw at lug-owl.de
Tue Apr 20 12:30:59 GMT 2004
On Mon, 2004-04-19 16:28:08 -0400, John Taylor <john at fcs.uga.edu>
wrote in message <20040419202808.GA23665 at spock.fcs.uga.edu>:
> 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 midnight
Of couse, you can make that a bit more flexible if you've got several
concurrent rsync running (by using their PID and checking it before
killing it to actually be a rsync instance)...
MfG, JBG
--
Jan-Benedict Glaw jbglaw at lug-owl.de . +49-172-7608481
"Eine Freie Meinung in einem Freien Kopf | Gegen Zensur | Gegen Krieg
fuer einen Freien Staat voll Freier Bürger" | im Internet! | im Irak!
ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.samba.org/archive/rsync/attachments/20040420/1a9d441e/attachment.bin
More information about the rsync
mailing list