[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re[2]: [BusyBox] crond
From:       Wang Jian <lark () linux ! net ! cn>
Date:       2005-03-26 14:23:42
Message-ID: 20050326221918.B37E.LARK () linux ! net ! cn
[Download RAW message or body]

Hi Vladimir N. Oleynik,

This method has too much time inaccuracy if program runs a little long.
A C program should be written to cope with time overhead between each
execution of program.

On Fri, 25 Mar 2005 17:09:09 +0300, "Vladimir N. Oleynik" <dzo@simtreas.ru> wrote:

> Hinko,
> 
> > Is it possible to run busybox cron jobs every 5 seconds? Or is one 
> > minute the lowest value possible. In latter case could you recomend 
> > sometning else?
> 
> Hmm, call this sciprt from one minute crontab line
> 
> #!/bin/sh
> n=0
> while [ $n != 12 ]; do
>          program
>          sleep 5
>          let n++
> done
> 
> 
> --w
> vodz
> 



-- 
  lark



_______________________________________________
busybox mailing list
busybox@mail.busybox.net
http://codepoet.org/mailman/listinfo/busybox


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic