Le dimanche 20 mar 2005 à 13 h 25, Michelle a dit: > Encore un fois... > > Am 2005-03-20 10:32:43, schrieb Steve: > > > */2 * * * * /home/moi/bin/script.sh >> /tmp/scriptlog.txt > > Si 'sendmail' marcher pas sur ton systém, changer cet ligne sur > > */2 * * * * /home/moi/bin/script.sh >> /tmp/`date +%s`_scriptlog.txt > 2>&1 > / ^^^^^^^^ > /^^^^ > Cree un fichier LOG pour chaque execution / > / > "2>&1" redirectioner tout les messages > stdout et stderr dans le fichier LOG.
ok, mais RIEN dans /tmp/ !!! > > et dans la premiere ligne de "/home/moi/bin/script.sh" > > #!/bin/bash -x > ^^^ > > Pour reporter tout les actions dan le script ok quand ./script, mais RIEN sinon. Je suis fou ou quoi ??? > > 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) >