PDA

View Full Version : Problem with Scheduler LUA Library



rpal
October 6th, 2006, 06:42 AM
I'm trying to delete schedules or tasks using lua library funtions (e.g. sched:Destroy(), sched:RemoveTask(), sched:Clear()), but they do not work.
Their execution seems to be ok (the object is deleted, also if I check on the Scheduler UI), but after a script reset or when G4 restart, the deleted object is still there.
I need these delete functions, because I'm developing a web page from where I can schedule my heating on/of time, more friendly then the Scheduler UI.
thanks.

rpal
October 6th, 2006, 08:43 AM
I solved the issue saving the sched to xml.