<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi there,<br><br>I use rsync to push files from remote servers. I added "run-time" patch to stop running at 8 am.
If run goes to 8am, I should received a "run-time limit exceeded" error.<BR>

But, half the time, I get :<BR>

<pre><code>rsync: [sender] write error: Broken pipe (32)
rsync error: timeout in data send/receive (code 30) at io.c(829) [sender=3.1.1]
== Error at 08:00:15 ==</code><code><code></code>
</code></pre>I passed timeout=1200 in case of poor internet connection. But as you can see, script stops around 15sec after limit time...<BR>

Please find complete command :<BR><pre><code></code><code>rsync -ahz --stats --delete --delete-excluded --detect-renamed --no-group --timeout=1200 --stop-at="08:00" --partial --partial-dir="tempRsync" --max-size="300M" /srv $USER@$REMOTE_NAS:/$day >> log.log</code>
</pre>I'm looking  for an explanation of this error and why I can't have my "run-time limit exceeded" error everytime... <br><BR><br><BR>Thanks a lot.<BR><br><BR>Florent<br><BR><br><br><table><tbody><tr>
            
<td class="postcell">
<div>
    <div class="post-text" itemprop="text"><br><br></div></div></td></tr></tbody></table><br>                                     </div></body>
</html>