Executer un script dans un crontab
ookahh1
Messages postés
61
Date d'inscription
Statut
Membre
Dernière intervention
-
dubcek Messages postés 18808 Date d'inscription Statut Contributeur Dernière intervention -
dubcek Messages postés 18808 Date d'inscription Statut Contributeur Dernière intervention -
Bonjour, est il possible d'ecrire un script dans un crontab et de l'executer en fonction du temps indiqué? un peu du genre:
shell=/bin/bash
mailto=root
home=/
1 * * * * stat -c " %n ----------------------- %y " document/* > rppt.txt | mail -s" envoi du rapport " toto@localhost < rppt.txt
merci
shell=/bin/bash
mailto=root
home=/
1 * * * * stat -c " %n ----------------------- %y " document/* > rppt.txt | mail -s" envoi du rapport " toto@localhost < rppt.txt
merci
A voir également:
- Executer un script dans un crontab
- Mas script - Accueil - Windows
- Ghost script - Télécharger - Polices de caractères
- Script vidéo youtube - Guide
- Admin script - Télécharger - Édition & Programmation
- Executer un .sh - Astuces et Solutions