Revert "Makefile: set architecture to build to armel"
[dbuscron] / doc / dbuscrontab
1 # This is a system-wide dbuscron config file.
2 # If there is /etc/dbuscrontab.d directory, this file will be ignored, and all
3 # files in this directory will be parsed one by one as one big config instead.
4 #
5 # Lines starting with `#' are ignored.
6 # Format of this file (table with whitespace-separated records):
7 #
8 # bus type sender interface path member destination arguments command
9 #
10 # Any field can have asterisk only (*) to match any value, each field can have
11 # multiple values separated with comma (,), matching any of these values will
12 # match. Only last (command) field can contain spaces. Bus field can be either
13 # `S' for system bus or `s' for session bus, type field can have one of signal,
14 # method_return, method_call or error values. Arguments consist of
15 # semicolon-separated values to match arguments of DBUS events.
16 # Arguments are matched with fnmatch(3), so they can contain usual wildcards
17 # like `*', `?' etc.
18 #
19 # If command field is single file name without spaces (i.e. arguments) and this
20 # file name is prepended with exclamation sign (!), then this program is run in
21 # "auto args" mode compatible with dbus-scripts method of command running, i.e.
22 # DBUS source, destination, interface, member and message arguments will be
23 # placed into command's arguments list in this order. For error messages
24 # there's error name instead of interface and member arguments, and for
25 # method_return messages interface and member arguments are totally omitted.
26 # This is made this way to be compatible with dbus-scripts.
27 #
28 # Examples:
29 #
30 # Run command for every DBUS event:
31 # * * * * * * * * command
32 # Run /path/to/logit.sh in auto args mode (dbus-scripts compatible):
33 # * * * * * * * * !/path/to/logit.sh
34 #
35 # Run command on system bus event named Event with type either method_call or
36 # method_return:
37 # S method_call,method_return * * * * Event * command
38 #
39 # The same as above, but check if second argument equals either `foo' or `bar',
40 # or first argument is `baz':
41 # S method_call,method_return * * * * Event ;foo,;bar,baz command
42 #
43 # More practical examples:
44 #
45 # Run command on incoming call:
46 # S signal * com.nokia.csd.Call /com/nokia/csd/call Coming * * run-standalone.sh incoming-call-hook.sh
47 #
48 # Run command on GPRS connected:
49 # S signal * com.nokia.csd.GPRS.Context /com/nokia/csd/gprs/0 Connected * * run-standalone.sh gprs-connected-hook.sh
50 #
51 # This file can also contain any number of environmental variables settings, e.g.:
52 # PATH = /usr/bin:/usr/sbin
53 #
54 # When command is running there're a number of environmental variables set so
55 # the script can check DBUS event data. The variables are:
56 #   DBUS_ARG# (where # is the number from 0 to DBUS_ARGN) - arguments of message,
57 #   DBUS_ARGN - number of message arguments,
58 #   DBUS_SENDER - message sender name,
59 #   DBUS_DEST - message destination name,
60 #   DBUS_IFACE - message interface,
61 #   DBUS_PATH - message object path,
62 #   DBUS_MEMBER - message member (a.k.a. method),
63 #   DBUS_BUS - bus message came from (`session' or `system'),
64 #   DBUS_TYPE - event type as described above,
65 #   DBUS_ERROR - error name if message is error message, empty string otherwise.
66 #
67