Le lun 10/02/2003 � 18:05, David A. Desrosiers a �crit :
> > Is there a debug mode I could run to see where it fails? And why does it
> > have to open a display, when all it has to do is to launch a daemon?
> 
>       Let's see the crontab entry and your script.
> 
>       Note, running it as root here locally seems to validate my original
> assertion that you're running it as root and not a normal user, or that when
> cron runs, it doesn't have access to the $DISPLAY. xhost +yourhost might
> help, as that user.
> 
> # gpilot-install-file --later cvsdocs.pdb
> (gpilot-install-file:2404): Gtk-WARNING **: cannot open display:


Here is my crontab :

[alex@ROISSY Palm]$ crontab -l
# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (/tmp/crontab.7213 installed on Mon Feb 10 17:19:12 2003)
# (Cron version -- $Id: crontab.c,v 2.13 1994/01/17 03:20:37 vixie Exp
$)
30 19 * * * /home/alex/backup.sh
01 17 * * * /home/alex/Documents/Palm/plucker/calvin.sh

And attached is the calvin.sh script (basically it just takes the daily
Calvin and Hobbes comic strip from a website, and converts it).

Thanks a lot for your time, I really appreciate that.

-- 
Alexandre Aractingi <[EMAIL PROTECTED]>

Attachment: calvin.sh
Description: application/shellscript

Reply via email to