manipulating/testing file times.

Cathey, Jim jcathey at ciena.com
Mon Nov 29 16:55:49 UTC 2010


>Possibly a bad place to ask, but I'm trying to do stuff in busybox/ash
>which involves time delays, or rather "alarms".
>I could do it with lots of little processes just sitting there going
>"sleep 34600", but it isn't very elegant.

Pity that BB cron doesn't seem to support "at" jobs.  It combines
the entire system's array of "little sleeps" into one.

Your approach sounds like polling.  How often do you wake
something up to stat your file?  I hate polling.

Maybe your system should deploy a more full-featured cron?

-- Jim



More information about the busybox mailing list