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

Re: crontab toute les 10 secondes?



Am 2005-05-23 16:38:03, schrieb debian-list:
> Le lundi 23 mai 2005 à 16:21 +0200, Michelle Konzack a écrit :

> >   __( /usr/sbin/cron.10sec )______________________
> >  /
> > | #!/bin/bash
> > | 
> > | for COUNT in `seq 5` ; do
> > |     run-parts --report /etc/cron.10sec
> > |     sleep 10
> > | done
> >  \________________________________________________

> eu sa c'est bien joué :) merci nikel je testerai plus tard mais c'est
> pas bete :) merci 

Un petite correcture:

 __( /usr/sbin/cron.10sec )______________________
/
| #!/bin/bash
| 
| for COUNT in `seq 5` ; do
|     run-parts --report /etc/cron.10sec &
|     disown
|     sleep 10
| done
 \________________________________________________

Si 'run-parts' faire un delay avec l'execution,
tu as de problems...

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


Reply to: