Le lun 10/02/2003 � 17:46, David A. Desrosiers a �crit : > > At the time of the execution, I receive a mail telling me the script has > > been executed, but I have a GTK Warning at the end of the message (can't > > open display). > > Sounds like you're trying to run gpilot-install-file as root from > crontab, and root can't run X applications. Run it as a normal user instead, > or write a script to test for the existance of /dev/ttyUSB1 before launching > pilot-xfer with the file to install.
Thanks for your answer David! That's what it looks like, but I'm definitely running it as a normal user. 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? (my script perfectly work from the command-line, and I'm a normal user -- never root) > > I have a USB-based PDA, I can't use pilot-xfer -i to install files later, > > because the pilot port is dynamically created and pilot-xfer would return > > an error if it can't detect the port. > > It can't detect it, because it doesn't exist. This is how USB works, > on every OS in existance thus far. If the device isn't connected physically > (and on Palm devices, that connection is an electrical connection made > between Palm and cradle, not cradle and desktop), then the port doesn't > exist, the kernel doesn't bind the driver, and pilot-xfer can't talk to it. I realize that, and that's why I want to use gpilot-install-file --later to install my files, although I normally use pilot-xfer -i (when I do it manually, ie not from my crontab). Thanks a lot for your help! -- Alexandre Aractingi <[EMAIL PROTECTED]> _______________________________________________ plucker-list mailing list [EMAIL PROTECTED] http://lists.rubberchicken.org/mailman/listinfo/plucker-list

