probelm with crontab

BR!j!TH brijithp at gmail.com
Fri Jun 25 12:56:43 BST 2010


Hi,
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.
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)
somebody please help me

*starwall file *
*#!/bin/bash*
*#starwall file *
*kstars --dump -width 1280 --height 1024
--filename="/home/brijith/kstar.png"*
*/usr/bin/gconftool -t string -s
"/desktop/gnome/background/picture_filename" "/home/brijith/kstar.png"*
*echo "Done"*

crontab entry
# m h  dom mon dow   command
*/1 * * * * env DISPLAY=:0.0 /usr/local/bin/starwall >Desktop/error.txt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/sounder/attachments/20100625/e9aea702/attachment.htm 


More information about the sounder mailing list