cron runs in a windowless environment, without X11 credentials. It is
causing that error because it has no X server to connect to.

To do what you want, you'll either need to use a GUI based scheduler
provided by your desktop environment, switch to a command-line only
bittorrent client, or use a bittorrent client that has its own
scheduling features and then leave it running all day long.

~Ryan

On Wed, Sep 17, 2008 at 12:17 AM, sid <[EMAIL PROTECTED]> wrote:
>
> Hi I am trying to schedule deluge bittorent client, but whenever I do
> it using "at" or "cron", I get the following error
>
>
>  File "/usr/lib64/python2.5/site-packages/deluge/__init__.py", line
> 36, in <mod
> ule>
>    import gtk.glade
>  File "/usr/lib64/python2.5/site-packages/gtk-2.0/gtk/__init__.py",
> line 79, in
>  <module>
>    _init()
>  File "/usr/lib64/python2.5/site-packages/gtk-2.0/gtk/__init__.py",
> line 67, in
>  _init
>    _gtk.init_check()
> RuntimeError: could not open display
>
>
> It works fine if I simply write
> $deluge
> but it does'nt work with cron or at.
> *is there some other way I can schedule it.
> I get the above message in my mailbox by "at" as well as "cron"
>
> Thank you.
> >
>



-- 
http://rmgraham.blogspot.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Linux Users Group.
To post a message, send email to [email protected]
To unsubscribe, send email to [EMAIL PROTECTED]
For more options, visit our group at 
http://groups.google.com/group/linuxusersgroup
-~----------~----~----~----~------~----~------~--~---

Reply via email to