ts-7000
[Top] [All Lists]

Re: [ts-7000] cron on 7250?

To:
Subject: Re: [ts-7000] cron on 7250?
From: Jim Jackson <>
Date: Tue, 31 Jan 2012 21:43:32 +0000 (GMT)


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/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU