Ok. I noticed a change in the layout and I thought I might have been doing something wrong.
Thanks again for all your work!
Thanks again for all your work!
Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menu375
def log(line)
# This function logs a line to the log file of the device
log = File.open("/var/log/pluto/" + device_.devid_.to_s + "_Generic_Serial_Device.log", "a")
log.puts Time.now.to_s + " (Ruby script):" + line.to_s
log.close
end
def time_check()
now = Time.new
if ((@last_check + 15) < now)
log(Time.now)
@last_check=Time.now
end
end
355
@last_check = Time.now
351
time_check()
2015-09-21 12:20:10 +0000 (Ruby script):2015-09-21 12:20:10 +0000
2015-09-21 12:20:26 +0000 (Ruby script):2015-09-21 12:20:26 +0000
01 09/21/15 12:20:28.313 A CRITICAL ERROR HAS OCCURED (CHECK YOUR RUBY CODE) <0x740ff450>
Return code: 1
Quote from: darkwizard864 on June 08, 2015, 01:59:50 AMHi darkwizard864
i still get access diened for noaa..
if(NOAA) {
Get_NOAA_DATA();
} else...