put a test into script to see if celestial time is in interval between now and now+5mins. then either (a) generate the script, embedding the celestial time inside the script, or; (b) generate a file with the celestial timestamp, and your script reads the value from this generated file
> On 26 Dec 2020, at 5:10 pm, Robin <[email protected]> wrote: > > I have a script that runs every five minutes, grabs an image from my webcam > and adds some text before it is uploaded to my website. I would like to test > if it is the first grab after sunset so that I can do some extra 'stuff' with > the image. > > I am getting more and more frustrated by my lack of skill, knowledge and > diminishing brain power (not sure if it is advanced years or ouzo). > > Please can somebody help. > > Thank you. > > > > -- > 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] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-user/95f868c7-1080-4d27-8faf-9640ba580750n%40googlegroups.com > > <https://groups.google.com/d/msgid/weewx-user/95f868c7-1080-4d27-8faf-9640ba580750n%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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/9CE9CB37-675A-4C11-9599-D27D8487E8A1%40gmail.com.
