Many status messages

Hi Wim,
Thanks for all your hard work on this template. I have been getting the following errors (See image) for a long time, been meaning to action it but as I have limited coding knowledge I was unable to.

Any ideas on a solution?

Site located at www.rathfarnhamweather.com/

Thanks

There is a lot of information available about these messages.

https://pwsdashboard.com/documentation2012/11_cron.pdf

And in this forum.

About the PWS Dashboard 2012 category - #2 by pwsdashboard

All those messages only tell us that you are running either

  1. no cron job
    or
  2. your cron-job is not correct.

I ran the cron-job in a browser and most messages are gone.
Only a very old yr.no file is still there.

So please tell us how you are running the 5 minute cron-job.

Regards,
Wim

Thanks for your prompt response. I don’t have huge knowledge of web dev stuff, but please see screenshot from cronjob I set up at the time.

Hopefully this helps.

Hi Rin,

Sorry, but no that does not help.
Please re-read the pdf → Which cron-server to use
There are dozens of different setups possible when using a provider-cron.
They look “more or less” the same, but the details are different and only your provider knows how to set it exactly right.
If you yourself do not have that knowledge, same with most users, I wrote there → Ask the support people of your provider about that


But the best way for you to run a cron is to use a free cron-server.
pwsWD only needs 1 cron-job every 5 minutes so nearly every cron-provider can be used fro free.
So make an account at Free cronjobs - from minutely to once a year. - cron-job.org and run the cron every 5 minutes.
That will solve this problem for sure.

Regards,
Wim

Thanks Wim,
I am using the cron server of my hosting company, and running the internal php version as per the doc. (I did read and follow it at the time). I will try the www version, hopefully I have success with that.

Thanks for taking the time to reply and troubleshoot.

AFAICS you are using IP 159.69.139.47 which is owned by the provider Hetzner Online GmbH

The least expensive package has no cron support
But they have Free email support and Documentation.
The other packages have also telephone support.

@ ALL
If you have a cron-problem ASK YOUR PROVIDER first.

If you post problems give all information

  1. the URL to your pwsWD installation
  2. if you are using an in-house server or the name/URL of your provider
  3. a screenshot if possible

Thanks

Think I have it now. I had the script location incorrect in the cron job with my host provider (host koala).

Thanks again

Just to close this off for others that may be having a similar issue. I fixed it by using curl --silent http://www.mysite.com/pwsWD/PWS_cron_stationcron.php > /dev/null as my cron job command in my hosting platform control panel.

Seems to have worked, although as I don’t use a cron I don’t understand. . .

But now, if you delete the file …/_my_settings/status.arr it will be rebuilt without the old yrno_metno_fct entry that is producing the red signal.

Thank you, I have done that and the red warning has gone. Would appreciate if yourself or Wim could just check to see if I have done it correctly and things are functioning as they should.

Looks OK to me but, as I said, I don’t run the cron :wink:

1 Like