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 "MAILTO=moi@localhost" 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