Am 2005-03-20 10:32:43, schrieb Steve:

> merci de la r�ponse, mais �a ne marche pas.
> 
> j'ai mis:
> 
> DISPLAY=:0 Xdialog blbla
> 
> dans le script que je veux ex�cuter; ensuite 'crontab -e' et :
> 
> */2 * * * * /home/moi/bin/script.sh >> /tmp/scriptlog.txt
> 
> mais �a ne marche pas. C'est quoi le probl�me?

Changer la premiere ligne de ton Script 

        #!/bin/bash
sur
        #!/bin/bash -x

et rajouter la ligne "[EMAIL PROTECTED]" ou quelque chose
similaire. 'cron' t'envojer um message que to peu annalyse.

> merci

Greetings
Michelle

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/ 
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSM LinuxMichi
0033/3/88452356    67100 Strasbourg/France   IRC #Debian (irc.icq.com)

Attachment: signature.pgp
Description: Digital signature

Répondre à