cron/dbus problem?

John (J5) Palmieri johnp at redhat.com
Mon Feb 13 16:51:32 UTC 2006


On Mon, 2006-02-13 at 16:08 +0100, Dennis Jacobfeuerborn wrote:
> Jeffrey C. Ollie wrote:
> > On Mon, 2006-02-13 at 15:13 +0100, Dennis Jacobfeuerborn wrote:
> >> Does anyone have an idea why the session bus seems to be available from a 
> >> regular shell but not from cron?
> > 
> > Because the environment variable "DBUS_SESSION_BUS_ADDRESS" is set in a
> > regular shell, but not from cron.
> 
> Shouldn't this be considered a bug? What I was trying to do doesn't seem 
> like a weird use case so I believe it should be possible to use DBus from 
> cron like that.

And what if your session isn't running or you are running more than one
session?  Which bus does the cron job attach to?
  
-- 
John (J5) Palmieri <johnp at redhat.com>




More information about the devel mailing list