[maemo-developers] [maemo-developers] Maemo Alarm/Notifier Interface

From: Florian Boor florian.boor at kernelconcepts.de
Date: Wed Jan 11 19:05:22 EET 2006
Hi,

Kimmo Hämäläinen wrote:

> Looking at crontab(5) man page, cron allows you to execute a program
> once in startup, so you could start some kind of daemon like that.

that might be an option... as soon as we have cron which is currently not available.

> You could have a shell script launched by cron that checks the current
> time of day and, if the time is right, starts some program that plays
> annoying alarm sound at full volume.

Thats a hack, not a feature and leads exactly to the situation we want to avoid.

> I guess the 'API' is crontab(1) + crontab(5). It has probably been
> tested in the course of time and proven good and stable.

... for a completey different usecase: We are not talking about software for a PC.

> I assume it will sleep most of the time and poll once in a minute
> (according to man page).

I suppose thats too frequent to avoid power drain, iirc we had a problem like
this with the panel clock. Apart from this i think the resolution of one minute
is too low...

> I think the application developer will use the crontab(1) command and
> the Glib API.

I don't think the crontab command is an acceptable interface for GUI
applications, we would need a library offering a proper API.

> We will try to re-use existing (preferably standard) software, so unless
> cron is not enough, it will be preferred over some new daemon
> implemented from scratch.

I think we are talking about two different things - the implementation of a
service and a service API.

Greetings

Florian

-- 
The dream of yesterday                  Florian Boor
is the hope of today                    Tel: 0271-771091-14
and the reality of tomorrow.            Fax: 0271-771091-19
[Robert Hutchings Goddard, 1904]        florian.boor at kernelconcepts.de

6C 44 30 4C 43 20 6B 61  16 07 0F AA E6 97 70 A8

More information about the maemo-developers mailing list