Salut à tous, j'ai un petit probleme dans la commande crontab en association avec un script shell, ca ne marche pas chez moi, bon voila ce que j'ai fais:
1- edition de mon crontab :
d'abord j'ai placé test.sh sous /home/viper, mais ca n'a pas marché, sous /home/viper/bin non plus
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8 crontab -u root -e SHELL=/bin/sh PATH=/usr/bin:/usr/sbin:/sbin:/bin:/usr/lib/news/bin:/home/viper/bin */1 6 3 4 1 /home/viper/test.sh <escp>:wq! 2- chmod +x test.sh 3- echo "hellOOOO" >> test;
Merci de bien vouloir m'aider![]()
Partager