<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"><html><head><meta name="qrichtext" content="1" /><style type="text/css">p, li { white-space: pre-wrap; }</style></head><body style=" font-family:'DejaVu Sans'; font-size:9pt; font-weight:400; font-style:normal;">On Thursday 21 May 2009 07:55:46 pm Sascha Güthling wrote:<br>
> Hi List,<br>
><br>
> I'm trying to start a kde application with a shell script. The shell<br>
> script is called by cron. But I always get an error that the<br>
> application is a "KUniqueApplication". What am I doing wrong?<br>
><br>
> script:<br>
><br>
> #!/bin/sh<br>
> /usr/bin/kmix #(<just an example, but it doesn't work like anything<br>
> else I tried)<br>
><br>
> That's it. When I call the script in a Konsole window it works (since<br>
> I'm in KDE) but when it's called by cron it doesn't.<br>
><br>
> All ideas are appreciated.<br>
><br>
> Thanks<br>
> Sascha<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>Just to be clear, did you make a script called 'cron' or are you using cron to start a script?<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>Alan</p></body></html>