The FTP uploader includes an algorithm to avoid unnecessary uploads. If the
timestamp on the file has not changes since the last upload, it does not
upload the file.

I suspect that your cron job is not "refreshing" the timestamp.

-tk

On Tue, Jan 21, 2020 at 3:37 AM Geni <eugen.affol...@gmail.com> wrote:

> This is what I was looking for, unfortunately this does not work.
> At Jan 21 12:19:01 a new version was fetched, but it was not copied to Jan
> 21 12:20:26
>
>
> Am Montag, 20. Januar 2020 19:32:27 UTC+1 schrieb rich T:
>>
>> Try setting CopyGenerator to copy the file every time you upload.
>>
>> In the skin.conf file:
>>
>> [CopyGenerator]
>>
>>     # This section is used by the generator CopyGenerator
>>     # List of files to be copied only the first time the generator runs
>>     copy_once = favicon.ico, images/*, json/index.html, js/index.html,
>> js/responsive-menu.js, robots.txt
>>
>>     # List of files to be copied each time the generator runs
>>     copy_always = *.css, status.jpg
>>
>>
>>
>> On Monday, January 20, 2020 at 12:46:21 PM UTC-5, Geni wrote:
>>
>>> In my opinion there are no errors in the log.
>>>
>>> It's about the image uwz.png, this is fetched every 10 minutes around
>>> X9.
>>> But in the attached log it was only transferred once via ftp.
>>>
>>>
>>>
>>> Am Montag, 20. Januar 2020 15:43:16 UTC+1 schrieb Andrew Milner:
>>>>
>>>> have you run with debug turned on?
>>>>
>>>> the 'fault' could be something happening at the other end - ie weewx
>>>> may be transferring correctly and your ISP may be doing something odd.
>>>>
>>>>
>>>>
>>>> On Monday, 20 January 2020 16:05:45 UTC+2, Geni wrote:
>>>>>
>>>>> No error is entered in syslog
>>>>>
>>>>> Am Montag, 20. Januar 2020 14:22:01 UTC+1 schrieb Andrew Milner:
>>>>>>
>>>>>> what error messages are in the log for the times when ftp appears to
>>>>>> be failing??
>>>>>>
>>>>>> On Monday, 20 January 2020 14:38:29 UTC+2, Geni wrote:
>>>>>>>
>>>>>>> A cronjob fetches every 10 min a status.jpg of an external website
>>>>>>> and stores it in the HTML_ROOT/meteo.
>>>>>>> Target the file in this folder should always be copied with the ftp
>>>>>>> to the configured server and its path.
>>>>>>> This almost always works now but sometimes nothing is copied for 1
>>>>>>> or 2 hours and suddenly it works again.
>>>>>>>
>>>>>>> Can or must I make an entry in the weewx.conf to make this work more
>>>>>>> reliable?
>>>>>>>
>>>>>>> Geni
>>>>>>>
>>>>>> --
> 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 weewx-user+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/73ad19b6-ca6c-408a-85d8-a9396b471e76%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/73ad19b6-ca6c-408a-85d8-a9396b471e76%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAPq0zEBfQpvwmsWApZJrv1r7iZfKNhrEu54_%2BbNA3w%3Dvh3n3yA%40mail.gmail.com.

Reply via email to