Hey Matthias,
> #
> # 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.
regards,
Simon
--
Simon Busch - http://mm.gravedo.de/blog/
_______________________________________________
Shr-devel mailing list
[email protected]
http://lists.shr-project.org/mailman/listinfo/shr-devel