Sorry for opening this post, I used the search option but couldn’t find the solution. I have noticed for some time that on my site in the rain box, the date of the last rainfall is fixed at January 25th. How can I solve it?
www.meteocamporamoso.it
Sorry for opening this post, I used the search option but couldn’t find the solution. I have noticed for some time that on my site in the rain box, the date of the last rainfall is fixed at January 25th. How can I solve it?
www.meteocamporamoso.it
Your cron-job is notdoing it job.
The items in the history file are old.
https://www.meteocamporamoso.it/pwsWD/PWS_listfile.php?file=_my_settings/history.txt&type=arr
These are the latest midnight runs:
[last_roll_over] => 1674946509
[last_roll_over2] => 2023-01-28T23:55:09+01:00
[last_first_day] => 1672527309
[last_first_day2] => 2022-12-31T23:55:09+01:00
[last_rained] => 1674686340
It seems there was no correct cron-job at midnight since 2023-01-28
Wim
I also notice you have no graph data since 31 December 2022. . . see No data in Reports since 29th Dec 2021? - #20 by Mogens - PWS Dashboard - Weather-Watch Forum for help with that: note the post is a year old so you have to delete all 2023 files
Thanks to both of you for your help. In fact the CronStation was disabled; we see that due to the internet on January 29th the cronjob failed several times and therefore it was disabled. For the graphs, I followed the guide but I don’t know if I solved it
You should always use a cron-job to get good data.
There is no reason why it should fail.
A cron-job is similar as if you are typing in your browser every 5 minutes
https://www.meteocamporamoso.it/pwsWD/PWS_cron_stationcron.php
I just typed that command and it works OK.
success files loaded + history was already valid + need upload to others + 0 uploads + no roll-over needed 2023-10-08T14:46:04+02:00
Please use a free cron-provider such as Free cronjobs - from minutely to once a year. - cron-job.org or Preise
If it fails at your website, post it here so we can look what the problem is.
Wim
I don’t think it worked: if you choose a graph for “l’ultimo 360 giorni” you can see the last value is for 31 December. Let’s try again:
All 2023 files need to be removed.
In …/pwsWD/chartswudata/
delete or rename IZAVAT1Y.txt, . . .YM.txt, . . .Y.txtold, . . .YM.txt.old
In …/pwsWD/wudata/
delete 2023 folder and delete IZAVAT1-metric-2023.arr
Then use the …/pwsWD/PWS_module_test.php script and press bottom button “Load files”
There will be error messages, but only the first time you press the button.
Thanks for the reply. I did as you told me but I don’t think I solved it
Did it rain yesterday or the day before?
Last rain can only be updated when it rains on a day.
Also run easyweather and do a save (green button) as i am confused that you say www.meteocamporamoso.it but the website is at www.meteocamporamoso.it**/pwsWD/**
Wim
Yes, the graphs are OK now
url of my site is like this for one of my settings. No it didn’t rain but it should rain next week
The station measured rain and the data in the history is adjusted with the last time it registered rain.
[last_roll_over] => 1697147707
[last_roll_over2] => 2023-10-12T23:55:07+02:00
[last_first_day] => 1672527309
[last_first_day2] => 2022-12-31T23:55:09+01:00
[last_rained] => 1697168098
Yes, everything is working correctly