Limit rsync running time

Tomas Norre Mikkelsen at
Thu Sep 17 06:51:24 MDT 2009


I have done this with a cron job, only the first time i had to
transfer 15GB, but did it first time in the weekend, afterwards, in my
situation is only a small amount of data that has to be transfered
every night, so every day at 02.00 the rsync starts and stops
automaticly within 1-3 hours.

Best Regards

2009/9/17 Fabian Cenedese <Cenedese at>:
> Hi
> I'd like to rsync a large amount of data over a slow connection,
> but only during night hours. I couldn't find a parameter that limits
> the time that rsync is running, only the timeout on idle time.
> I guess the way to go would be to start rsync, get the process
> ID and kill the process later on.
> Has anybody already written a bash script that would do something
> like that? Are there other ways? I don't want to kill all rsync
> processes as there might be other syncs going on.
> Thanks
> bye  Fabi
> --
> Please use reply-all for most replies to avoid omitting the mailing list.
> To unsubscribe or change options:
> Before posting, read:

More information about the rsync mailing list