STFP and Skins

42 views
Skip to first unread message

Chris P

unread,
Jun 9, 2019, 12:35:17 PM6/9/19
to weewx-user
would anyone know if you can change the order of when things run?  I have to use SFTP to upload my website, however it appears to be uploading things before the skin is done doing its thing, so the skin doesnt get uploaded until the next SFTP upload.  Im thinking if i can change the order so the skin completes first and then SFTP uploads, things wouldnt be ten minutes behind.  Is that possible?

gjr80

unread,
Jun 9, 2019, 6:49:26 PM6/9/19
to weewx-user
Hi,

Skins are processed sequentially in the order they appear under [StdReport] in weewx.conf. Unless your are doing something pretty complex in a skin that involves threading etc the next skin is not processed until the previous skin has finished generation.

I’m guessing under [StdPrint] you already have the FTP skin after your skin that generates the files you wish to upload? If so you might be able to get a better idea of what is happening when by setting debug=1 in weewx.conf, restarting WeeWX and then checking the log once a couple of report cycles have completed.

Gary

Chris Plant

unread,
Jun 9, 2019, 7:32:08 PM6/9/19
to weewx...@googlegroups.com
It appears that my sftp stanza installed before the skins. I moved the stanza to before the regular ftp stanza and lo and behold it works! Thanks for the input! 

--
You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/DScFxiDd9uQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/2bcdf6a1-7e03-40f8-b6e8-385a9d051ce9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--

Chris Plant
Sent from Gmail Mobile
Reply all
Reply to author
Forward
0 new messages