The Following 14 Users Say Thank You to kstep For This Useful Post: | ||
|
2010-12-21
, 13:03
|
|
Posts: 18 |
Thanked: 52 times |
Joined on Dec 2010
|
#2
|
The Following User Says Thank You to kstep For This Useful Post: | ||
|
2010-12-21
, 13:07
|
|
Posts: 18 |
Thanked: 52 times |
Joined on Dec 2010
|
#3
|
The Following 3 Users Say Thank You to kstep For This Useful Post: | ||
|
2010-12-21
, 14:28
|
|
Posts: 2,222 |
Thanked: 12,651 times |
Joined on Mar 2010
@ SOL 3
|
#5
|
The Following 3 Users Say Thank You to joerg_rw For This Useful Post: | ||
|
2010-12-21
, 15:09
|
Posts: 1,224 |
Thanked: 1,763 times |
Joined on Jul 2007
|
#6
|
The Following 3 Users Say Thank You to Matan For This Useful Post: | ||
|
2010-12-21
, 15:16
|
|
Posts: 18 |
Thanked: 52 times |
Joined on Dec 2010
|
#7
|
|
2010-12-22
, 16:29
|
|
Posts: 18 |
Thanked: 52 times |
Joined on Dec 2010
|
#8
|
The Following 2 Users Say Thank You to kstep For This Useful Post: | ||
|
2010-12-22
, 17:24
|
|
Posts: 18 |
Thanked: 52 times |
Joined on Dec 2010
|
#9
|
|
2010-12-22
, 18:37
|
|
Posts: 18 |
Thanked: 52 times |
Joined on Dec 2010
|
#10
|
I was missing for simple dbus scheduler for a long time (dbus-scripts is a no op for me for some reasons), so I created my own dbuscron daemon to monitor DBUS events and run commands on them.
The source code lies on github at http://github.com/kstep/dbuscron and deb-package can be taken from my blog at http://kstep.me/dbuscron_en.html.
The main idea of the scheduler is simple: it's just like good old cron but for DBUS messages. It's configured with /etc/dbuscrontab file in a crontab-like format. Here're some simple examples from my own config:
As of stability, I run it on my N900 all the time for several weeks and haven't mentioned any critical bugs (and if I do, I will not wait to fix them asap, as I'm the main user of this program).
P.S. If you are interested in some of my scripts mentioned in this example, I can provide them as well (except private parts with passwords etc. of cause =).