<p>Did you edit /etc/crontab or use crontab -e?</p>
<p>Sorry for top-posting, Android won't let me quote. There's a bug report on it!</p>
<p><blockquote type="cite">On 25 Jun 2010 12:57, "BR!j!TH" <<a href="mailto:brijithp@gmail.com">brijithp@gmail.com</a>> 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="/home/brijith/kstar.png"</i></span></div>
<div><span style="background-color:rgb(192, 192, 192)"><i>/usr/bin/gconftool -t string -s "/desktop/gnome/background/picture_filename" "/home/brijith/kstar.png"</i></span></div>
<div><span style="background-color:rgb(192, 192, 192)"><i>echo "Done"</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 >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>