[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Poursuivre un script après un reboot



Le 28/12/2009 vers 16:45, dans le message intitulé "Re: Poursuivre un script 
après un reboot", Florentin Garnier(Florentin Garnier 
<florentingarnier@gmail.com>) a écrit:

> Bonjour,

Bonsoir,

> 
> Il y a pas une astuce avec cron ou un truc du genre

Créer un fichier dans /etc/cron.d/MonScript par la commande
echo -en "@reboot\t root test -x /tmp/Monscript && /tmp/MonScript\n" > 
/etc/cron.d/MonScrip

A+
-- 
http://www.glennie.fr
If the only tool you have is hammer, you tend to see every problem as a nail.


Reply to: