I have a cron job that generates some .pdb files, and I'd like to automatically queue them for installation at the next sync. Unfortunately, I haven't been able to get gpilot-install-file to work in a cron job. It requires a display (why??), so I gave it a "--display=:0.0" option. Then it complained it couldn't get the PDA list, so I gave it a "--pilot=MyPDA" option.
/usr/bin/gpilot-install-file --later --display=:0.0 --pilot=MyPDA myfile.pdb
Now I get this:
(gpilot-install-file:4959): gpilotd-CRITICAL **: gnome_pilot_client_install_file: assertion `self->gpilotddaemon!=NULL' failed
Is there a way to get this to work, or is there some other way to get files into the install queue for gnome-pilot from a cron job?