04.07.2017, 10:59
Hi,
it seems sunset/sunrise calculation isn't working when script is generated from FB Editor
"out" is always nil
Also would it be possible to add a "Run every X days" on schedulers or on scheduled scripts?
it seems sunset/sunrise calculation isn't working when script is generated from FB Editor
"out" is always nil
Also would it be possible to add a "Run every X days" on schedulers or on scheduled scripts?
Code:
require('custom.fbeditor20.Time')
Latitude = 38.14
Longitude = 27.47
Time_offset = 2
out = fbe_sunrise(Latitude, Longitude, Time_offset, 'fb__test1__fbe_sunrise__id')
log(out)
if out ~= nil then
grp.write('32/1/2', out)
end