Can someone help me figure out why my history.txt file is not updating? The content of the file is the same as during the installation. At the same time, I want to take the opportunity to express my thanks and respect for the fantastic work behind the software.
https://thorner.se
Are you running the station cron job? See 11_cron.pages
I tried to, but it failed on my uncertainity about the path to the cron job. This was my suggestion: `/usr/local/bin/php /home/nwvcpdkr/public_html/pwsWD/PWS_cron_stationcron.php. Make it sense to you? I’m so grateful for any help on this! Wish you a pleasant evening.
//Roland
I only tried running the stationcron job from Weather Display for a few days, but I remember I just used the URL: try
https://www.thorner.se/pwsWD/PWS_cron_stationcron.php
I am not the best person to advise you, you might find more help from a Forum search.
If you really want to use the cron-job from your hosting provider, you should ask them. Maybe there is a How_To document. There are multiple different hosting systems and the differences in How-To setup a cron job are difficult to spot.
A better solution:
→ Use a free external cron server such as
https://cron-job.org/en/
or
https://www.cronjob.de/.
With an external cron-server you only have to specify the frequency and to enter the correct full URL which @bitsostring also posted
Succes,
Wim
Thank you!
I’m now using an external cron server. I guess it’s working even thoug I’m concerned about the results as they are presented. In the Max/min tile there’s data from November 22 where I can’t understand the origin.
All the best!
Roland
That is a GIGO problem.
The history data is kept in a file, and without frequent updates with a cron-job the data gets errors.
You can check the current history values in the “Nuvarande himmel” block with the “Historik” pop-up.
There is an update script to enter correct values once
pwsWD/PWS_hist_update.php?pw=XXXXXX
Replace XXXXXX with your easyweathersetup password.
Succes,
Wim
Thank you!
This action did really matter. I will now go on with other challenges. BTW I’ve done updates in the SE-language textfile. Is anyone interested? In case let me know and I’ll publish a link.
//Roland