ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: cron on 7250?

To:
Subject: Re: [ts-7000] Re: cron on 7250?
From: Jim Jackson <>
Date: Thu, 2 Feb 2012 20:42:36 +0000 (GMT)


On Thu, 2 Feb 2012, Mike Dodd wrote:

> Jim Jackson wrote:
> > 
> > There should be a program called "crontab"
> > 
>  From a Google search, I know crontab _should_ be there, but it appears 
> does not exist:
> 
> $ busybox crontab
> crontab: applet not found

crontab would not be in busybox applet if cron was not compiled in busybox!

Somehow the Dillon crond is present on your system. Whoever put it there 
should have put the crontab utility too - the 2 go together and are usually 
from the same package/compilation.

This page is written by someone using the dillon crond...

 http://www.rahul.net/raithel/MyBackPages/crontab.html

You have a couple of options. Use strings on the crond binary and look for 
anything useful - strings /usr/sbin/crond | grep '/' - will give you
and file paths strings can find (as well as other stuff). That may give you 
a clue.

The other option is just to do as suggested in my first email - download my 
pre-compiled version of busybox 1.1 with both crond and crontab builtin. 
Install it somewhere as busybox11 so it doesn't interfer with your existing 
stuff, then make links in e.g. /usr/bin for crond and crontab pointing to 
busybox11 and hey presto you have crond and crontab installed. I can vouch 
for the fact it works.

good luck
Jim

> $
> 
> I have busybox v1.00-rc2:
> 
> $ busybox
> BusyBox v1.00-rc2 (2004.08.05-21:44+0000) multi-call binary
> 
> No problem that the crontab appletdoesn't exist -- I know how to edit a 
> crontab file. My text crontab contains this single line:
> 
> 0-59 * * * *  root /var/spool/cron/hello
> 
> The 'hello' script is executable and works fine from the command line.
> 
>   My question is WHERE Dillon crond expects to find the crontab file. 
> I've tried it in:
> 
> /var/spool/cron
> /var/spool/cron/crontabs
> /var/spool/cron/crontabs/root
> 
> I have started crond with no arguments, and also with crond -c followed 
> by each of the paths above. Each time, crond displays:
> 
> crond 2.3.2 dillon, started, log level 8
> 
> and ps shows that crond is running.
> 
> But nothing happens. Based on my crontab, crond should execute the 
> "hello" script every minute, but nothing at all happens.
> 
> Does anyone know how to get Dillon crond to read my crontab and execute 
> the commands in it?
> 
> Thanks.
> 
> 
> 
> 
> -- 
> Mike
> 
> Mike Dodd
> Louisa County, VA USA
> 
> http://mdodd.com
> 


------------------------------------

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