This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:uploaddw [2015/10/09 09:40] wvdkuil |
en:uploaddw [2015/10/09 09:43] wvdkuil [Create a cronjob] |
||
---|---|---|---|
Line 13: | Line 13: | ||
==== Specify your correct userid and password ==== | ==== Specify your correct userid and password ==== | ||
You already specified your userid and password for the WeatherLink.com website during the first configuration. You can check those values at the start of the _my_texts/wsUserSettings.php file. | You already specified your userid and password for the WeatherLink.com website during the first configuration. You can check those values at the start of the _my_texts/wsUserSettings.php file. | ||
- | <code># for weatherlink.com users -------------------- | + | <code># Extra settings for your weather-program |
- | #$SITE['WXsoftware'] = 'DW'; // ##### Davis WeatherLink.com ONLY uncomment after setting the id and password | + | $SITE["wlink_key"] = "xyz"; |
- | $SITE['wlink_key'] = 'xyz'; // ##### Your weatherlink.com user id | + | $SITE["wlink_pw"] = "xyz"; |
- | $SITE['wlink_pw'] = 'xyz'; // ##### and password. | + | </code> |
- | # ---- end of wl.com users ---------------------</code> | + | |
==== Create a cronjob ==== | ==== Create a cronjob ==== | ||
There are no "yesterday' values registred by WL.com. So to get those values a small script should be run every day around 23.45 but before 00:00 | There are no "yesterday' values registred by WL.com. So to get those values a small script should be run every day around 23.45 but before 00:00 | ||
- | <WRAP important> | + | <WRAP info> |
The script that has to be run is: %%www.yourwebdsite.com/%%**weather28/yesterday.php** | The script that has to be run is: %%www.yourwebdsite.com/%%**weather28/yesterday.php** | ||
</WRAP> | </WRAP> | ||
How to run a cron-job is described at: [[en:cronjob|CRON jobs]] | How to run a cron-job is described at: [[en:cronjob|CRON jobs]] |