maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   OS2008 / Maemo 4 / Chinook - Diablo (https://talk.maemo.org/forumdisplay.php?f=29)
-   -   Automation options - email checking (https://talk.maemo.org/showthread.php?t=17321)

m_stolle 2008-03-03 14:44

Re: Automation options - email checking
 
Well, maybe 10 days is a bit optimistic - it's what the OS predicts. However, I've definitely seen it go for a whole day with occasional use and still be pretty full in the evening (still full battery icon)

Martin

geneven 2008-03-03 15:10

Re: Automation options - email checking
 
Is there a way I could, say, get a program to run automatically at 4 a.m. every morning? If so, where would I find clear instructions on how to do that?

tobiasj 2008-03-03 15:53

Re: Automation options - email checking
 
It never occurred to me before, but there is no cron on the tablet is there?

Wonder what it would take to add that.

-John

tso 2008-03-03 15:59

Re: Automation options - email checking
 
nope, no cron or similar...

as for adding it, i think the hardest part would be to get the server to start when the device is turned on and so on. but im not an authority on the startup and shutdown systems that maemo use...

m_stolle 2008-03-04 14:46

Re: Automation options - email checking
 
Well, there has to be something similar to cron running, since how else does the eMail client start every 10 minutes to check mail? Usually, it's not running (verified via ps aux). I saw a process called "alarmd", that might be used for scheduling. Unfortunately, I didn't have time to dig into developing for the Nokia yet, but I am sure there is some sort of scheduler. However, they probably use something session-bound/dbus-using for scheduling instead of cron.

Martin

tso 2008-03-05 00:16

Re: Automation options - email checking
 
ah yes, i have been seeing talk about alarmd in relation to some apps.

hmm, python talks dbus...


All times are GMT. The time now is 16:27.

vBulletin® Version 3.8.8