Re: [SailfishDevel] Scheduling code for execution at x seconds since epoch

2014-03-16 Thread Arvid Fahlström Myrman
On Sunday 16 March 2014 16:17:04 Ove Kåven wrote: > Den 16. mars 2014 14:14, skrev Arvid Fahlström Myrman: > > Yes, I've been playing around with BackgroundJob from nemo-keepalive a > > little since I wrote that. It seems to mostly work similarly to > > Insomniac, with the added benefit of preventi

Re: [SailfishDevel] Scheduling code for execution at x seconds since epoch

2014-03-16 Thread Ove Kåven
Den 16. mars 2014 14:14, skrev Arvid Fahlström Myrman: Yes, I've been playing around with BackgroundJob from nemo-keepalive a little since I wrote that. It seems to mostly work similarly to Insomniac, with the added benefit of preventing suspend after triggering until BackgroundJob's finished() m

Re: [SailfishDevel] Scheduling code for execution at x seconds since epoch

2014-03-16 Thread Arvid Fahlström Myrman
Yes, I've been playing around with BackgroundJob from nemo-keepalive a little since I wrote that. It seems to mostly work similarly to Insomniac, with the added benefit of preventing suspend after triggering until BackgroundJob's finished() method is called. It's a bit finicky to use though, sin

Re: [SailfishDevel] Scheduling code for execution at x seconds since epoch

2014-03-16 Thread Ove Kåven
Den 15. mars 2014 23:55, skrev Arvid Fahlström Myrman: I'm thinking about trying my luck with nemo-keepalive's KeepAlive, and setting its enabled property to true when insomniac triggers to guarantee that timer also triggers. If you're going with nemo-keepalive, then you shouldn't need insomnia

Re: [SailfishDevel] Scheduling code for execution at x seconds since epoch

2014-03-15 Thread Thomas Tanghus
On Saturday 15 March 2014 23:55 Arvid Fahlström Myrman wrote: > Hi, > > Thanks, I didn't think of starting a Timer during an iphb wake-up. It still > gets a bit difficult though having to juggle both Insomniac and a Timer at > the same time, especially as I need to chain a bunch of timers, some wi

Re: [SailfishDevel] Scheduling code for execution at x seconds since epoch

2014-03-15 Thread Arvid Fahlström Myrman
Hi, Thanks, I didn't think of starting a Timer during an iphb wake-up. It still gets a bit difficult though having to juggle both Insomniac and a Timer at the same time, especially as I need to chain a bunch of timers, some with intervals as short as five seconds, and I need to make sure that t

Re: [SailfishDevel] Scheduling code for execution at x seconds since epoch

2014-03-13 Thread Thomas Tanghus
On Thursday 13 March 2014 20:45 Arvid Fahlström Myrman wrote: > Hi, > > Does anyone know if it is possible to schedule code for execution at x > seconds since epoch, with guaranteed execution even when in sleep mode? > Currently I am using libiphb (through tanghus's Insomniac QML plugin), but > li

[SailfishDevel] Scheduling code for execution at x seconds since epoch

2014-03-13 Thread Arvid Fahlström Myrman
Hi, Does anyone know if it is possible to schedule code for execution at x seconds since epoch, with guaranteed execution even when in sleep mode? Currently I am using libiphb (through tanghus's Insomniac QML plugin), but libiphb only seems to support waiting for a specified number of seconds,