cloudy

Author Topic: testtags with wdconsole  (Read 2111 times)

0 Members and 1 Guest are viewing this topic.

Online Weather Display

  • Posts: 64,544
Re: testtags with wdconsole
« Reply #15 on: September 29, 2009, 07:19:06 PM »
but Pablo ,stumpey  script has got nothing to do with consolewd
its just copying a web file,  produced by the full linux version

Offline pablo

  • Posts: 492
Re: testtags with wdconsole
« Reply #16 on: September 29, 2009, 07:38:28 PM »
but Pablo ,stumpey  script has got nothing to do with consolewd
its just copying a web file,  produced by the full linux version

However my point still stands.  For those issues where wdconsole is fork'ing a process and that process is having issues, it can be replaced with a shell script.

Cheers,
-pablo
pablo
WMR-100

Offline stevan

  • Posts: 15
Re: testtags with wdconsole
« Reply #17 on: October 01, 2009, 01:20:36 PM »
I simply symlink to the .html file with the correct name, which negates the need for cron jobs.

In your case
----
ln -s /home/weather/wdisplay/webfiles/wx3.html /var/www/testtags.php
-----
should do it.

Stevan

I had a similar problem with the normal GUI version I resolved it like this.

I simply renamed the testtag file to wxlocal3.html then let wd parse the file in the normal manner to wx3.html

Then with a bit of script below and cron every 5 mins, moved and renamed the file to testtags.php..job done. This has been working for months perfectly :).

Steve


Code: [Select]
#!/bin/sh

sleep 15

cp /home/weather/wdisplay/webfiles/wx3.html /var/www/testtags.php

exit

 

cumulus