probelm with crontab

Chris Rees utisoft at gmail.com
Fri Jun 25 13:00:01 BST 2010


Did you edit /etc/crontab or use crontab -e?

Sorry for top-posting, Android won't let me quote. There's a bug report on
it!

On 25 Jun 2010 12:57, "BR!j!TH" <brijithp at gmail.com> wrote:


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




--
sounder mailing list
sounder at lists.ubuntu.com
Modify settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/sounder
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/sounder/attachments/20100625/1ebd2edb/attachment.htm 


More information about the sounder mailing list