On Mon, 30 Jan 2012, Mike Dodd wrote:
> I have a C program running on a 7250 TS-Linux that's working fine -- the
> DIOs are monitoring my HVAC signals, the program is writing HTML to a USB
> flash drive, and Apache is serving up those pages. Cool!
>
> But the clock isn't keeping good time. I have a script to run ntpdate to
> set the clock from my Linux server (which sets its own clock from a real
> NTP server), but I can't seem to find cron on the 7250 to run this script
> automatically. 'ps -aux' doesn't show any cron processes.
>
> Is cron available on the 7250? What is needed to activate it?
As far as I know, the build of busybox in the standard TSLinux image
did not include cron - so be default it is not available.
I recompiled busybox, version 1.1 compiles easily, and I install that on
the board as busybox11, and put in links from /bin/cron /bin/adjtimex
and the other things I compiled in. I have a busybox11 binary that will
work on the stock TSLinux image if you want it. It's at
http://www.comp.leeds.ac.uk/jj/downloads/busybox11
and source at
http://www.comp.leeds.ac.uk/jj/downloads/busybox-1.1.0.tgz
if you want to compile it yourself.
cheers
Jim
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|