El día Friday, April 13, 2012 a las 06:38:41PM +0200, Simon Busch escribió:
> > # > > # my own tests > > # > > - > > trigger: Time(14, 40) > > actions: > > - Debug("my first test") > > - Command('touch /tmp/action') > > > > Then I restarted the daemon with > > > > /etc/init.d/frameworkd restart > > > > the registration of the trigger is mentioned in the log file: > > > > # fgrep first frameworkd.log > > 2012.04.13 14:31:01.877 oeventsd INFO Created new rule : > > on Time(14:40) if And() then [Debug("my first test"), > > CommandAction(touch /tmp/action, {})] > > 2012.04.13 14:31:03.544 oeventsd.rule INFO enable rule : on > > Time(14:40) if And() then [Debug("my first test"), CommandAction(touch > > /tmp/action, {})] > > > > but nothing visible happened at 14:40h; I have also no proc 'oeventsd', > > maybe this is part of the problem? > > oeventsd is part of the frameworkd which you should see in the process list. > > As the TimeTrigger uses the org.freesmartphone.otimed service in a very > old version your example can't work. If you look at the source of the > TimeTrigger [1] and the specification of the API which is implemented in > the fsotdld service [2] there is no signal named "Minute" anyore. Hi Simon, Just to make sure: I only see frameworkd, but no oeventsd: root@om-gta02 ~ # ps ax | egrep 'oevent|frame' 722 ? Ss 0:26 python /usr/bin/frameworkd and the URL for [1] and [2] was not visible in my mail; thanks for your feedback anyway; matthias -- Matthias Apitz e <g...@unixarea.de> - w http://www.unixarea.de/ UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5 _______________________________________________ Shr-devel mailing list Shr-devel@lists.shr-project.org http://lists.shr-project.org/mailman/listinfo/shr-devel