This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Script is already running or disabled
#1
Hi
a week ago my scheduled script has stopped working. If I try to start it manually I get messagebox saying "Script is already running or disabled".

I don't believe the message but:
Script is not disabled.
Can I check if the script is already running?
Can I kill the running script?

The script is used for sending data to Weather Underground PWS site. It's extremely simple. I don't see any possibility of endless loop here.

Code:
require("user.ecl_weather")

lt_url_table = {
dateutc=os.date("!%F %T"),
action="updateraw",
ID="XXXXXX",
PASSWORD="xxxxx",
softwaretype="PWS Jung 2225WSU",
windspeedmph=grp.getvalue('7/2/25')*2.237, -- m/s to mph multiply by 2.237
humidity=grp.getvalue('7/2/2'),
tempf=celsius_to_fahrenheit(grp.getvalue('7/2/1')),
solarradiation=grp.getvalue('7/2/24'),
winddir=grp.getvalue('7/2/19'),
baromin=(grp.getvalue('7/2/12')*100)/3386.388667, -- 1 pascal = 0.000295299830714 inches of mercury inverted because of rounding issue 3386,388667
dewptf=celsius_to_fahrenheit(grp.getvalue('7/2/23'))
}
ls_url="https://weatherstation.wunderground.com/weatherstation/updateweatherstation.php?"..url_encode(lt_url_table)

https = require("ssl.https")
https.request (ls_url)
LM5Lp, firmware: 2018.08.22 and 2021.12.15, FlashSYS v2, ARMv7 Processor rev 5 (v7l), kernel 4.4.151 and 4.4.259
Reply


Messages In This Thread
Script is already running or disabled - by Thomas - 06.10.2017, 17:19

Forum Jump: