[Klug-general] cron spookiness!

Sharon Kimble sharonm63 at tiscali.co.uk
Sat Oct 29 09:44:08 BST 2005


Can anyone help me sort this cron problem out please? If I run 
'/usr/bin/bittorrent' from the command line it works okay and launches my 
bittorrent gui. But if I run '5 23 * * * /usr/bin/bittorrent' as a cron-job 
it fails and I get this error message ;-
~~~~~~~~~~~~~~~
Traceback (most recent call last):
  File "/usr/bin/bittorrent", line 30, in ?
    import gtk
  File "/usr/lib/python2.4/site-packages/PIL/__init__.py", line 37, in ?
    
RuntimeError: could not open display
~~~~~~~~~~~~~~~~

So, is it a coding problem, or a cron problem? And can anyone suggest a 
workaround for me please?

Hopefully thanks
Sharon.
-- 
 09:38:01 up 2 days, 23:40,  2 users,  load average: 1.87, 1.48, 1.40
A taste of linux http://www.sharons.org.uk/taste/index.html
efever http://www.efever.blogspot.com/
Fedora Core 4, KDE 3.4.3-1.0, OpenOffice 1.9.117
Registered Linux user 334501



More information about the Kent mailing list