Hi everyone,

I have some trouble understanding the inner workings behind the 
loop-mechanism in weewx. Right now I have a archive_interval of 600s. This 
seems long enough for my reports to be generated and they end up fine 
inside the /var/www/html/weewx directory on my Pi. 
What doesn't work though is the transfer to my server, no matter if I 
transfer the files via ftp or rsync. Sometimes the reports get transferred 
to my server within the 600s archive_interval, sometimes weewx seems to 
skip the rsync/ftp-report and the files on my server end up being one or 
two or even more hours old.
I have done some research on the mailing list archive and I found a thread 
where someone explained that the above problem could be due to rsync 
failing or running for too long. I can't really see why this would be the 
reason for my problems since rsync only runs for about 1-2sec, which in my 
opinion shouldn't cause a problem for the loop.

In other words: How can I make sure that my files get rsynced/ftped 
everytime the loop is run? I have read another thread where someone 
suggested running rsync as a service but I haven't found any examples of 
how to do that. Or are there any other ways to solve that problem?

Thanks in advance!
Philipp

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/337d6729-ebf4-4e72-bb16-646ccf6c2141n%40googlegroups.com.

Reply via email to