<p>Did you edit /etc/crontab or use crontab -e?</p>
<p>Sorry for top-posting, Android won&#39;t let me quote. There&#39;s a bug report on it!</p>
<p><blockquote type="cite">On 25 Jun 2010 12:57, &quot;BR!j!TH&quot; &lt;<a href="mailto:brijithp@gmail.com">brijithp@gmail.com</a>&gt; wrote:<br><br><div class="gmail_quote"><br><div>Hi,</div><div>I have a script that dumb a image from kstars and then set it as a desktop background. I want to put it in crontab. Following is the script.</div>
<div>What I found was the script is executing. The image is getting created but it fails to set as desktop background ( the second line in the script)</div>


<div>somebody please help me</div><div><br></div><div><i><span style="font-style:normal">starwall file </span></i></div><div><div><span style="background-color:rgb(192, 192, 192)"><i>#!/bin/bash</i></span></div>
<div><span style="background-color:rgb(192, 192, 192)"><i><span style="font-style:normal">#starwall file </span></i></span></div><div><span style="background-color:rgb(192, 192, 192)"><i>kstars --dump -width 1280 --height 1024 --filename=&quot;/home/brijith/kstar.png&quot;</i></span></div>



<div><span style="background-color:rgb(192, 192, 192)"><i>/usr/bin/gconftool -t string -s &quot;/desktop/gnome/background/picture_filename&quot; &quot;/home/brijith/kstar.png&quot;</i></span></div>
<div><span style="background-color:rgb(192, 192, 192)"><i>echo &quot;Done&quot;</i></span></div></div><div><br></div><div>crontab entry </div><div><div><span style="background-color:rgb(192, 192, 192)"># m h  dom mon dow   command</span></div>



<div><span style="background-color:rgb(192, 192, 192)">*/1 * * * * env DISPLAY=:0.0 /usr/local/bin/starwall &gt;Desktop/error.txt</span></div><div><font color="#999999"><span style="background-color:rgb(192, 192, 192)"><br>



</span></font></div></div><div><br></div>
</div><br>
<br>--<br>
sounder mailing list<br>
<a href="mailto:sounder@lists.ubuntu.com">sounder@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/sounder" target="_blank">https://lists.ubuntu.com/mailman/listinfo/sounder</a><br>
<br></blockquote></p>