Cron + Dbus
Thiago Macieira
thiago at kde.org
Mon Mar 17 06:18:56 PDT 2008
On Monday 17 March 2008 13:33:13 Adrián Bravo Navarro wrote:
> Hi,
>
> We are developing a snapshot/backup system supported by inotify and cron in
> python (www.hdlorean.com or http://launchpad.net/hdlorean). We are having
> some trouble with dbus env variables and Cron. We would like that cron
> calls some of the daemon methods trhough dbus, however as Cron runs a
> non-interactive shell, the DBUS_ADDRESS env variable is not set, so it
> cannot be used. I've been trying to use dbus-autolaunch to solve that
> problem, but it failed.
>
> We will thank any help or ideas you could bring.
There's no need for environment variables and the system bus.
You shouldn't access the session bus because you're out of the session.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freedesktop.org/archives/dbus/attachments/20080317/051bd644/attachment.pgp
More information about the dbus
mailing list