ts-7000
[Top] [All Lists]

[ts-7000] Re: cron on 7250

To:
Subject: [ts-7000] Re: cron on 7250
From: "j.chitte" <>
Date: Mon, 07 Apr 2008 18:38:07 -0000
--- In  Jim Jackson <> wrote:
>
> 
> 
> 
> On Sun, 6 Apr 2008, j.chitte wrote:
> 
> > Hi,
> >
> > I need to set up a couple of cron jobs on a 7250. I have set 
crond to
> > start in rcS.sysinit and put a simple test line in /etc/crontab
> >
> > * * * * * root /etc/cron/cron.test
> >
> >> From what I've been able to find this should be enough but it 
does
> > not get executed as I expect.
> >
> > Is this too minimalist?
> 
> Is crond running?
> 
>    ps | grep crond
> 
> Is crond present in your setup? I can't remember if it was 
compiled into 
> the supplied busybox? You'll need to arrange for crond to be 
started
> at boot.
>

Thanks Jim, 

like I said , I set it to run at boot, I should have added that I 
checked. Yes crond is there in ps

  PID  Uid     VmSize Stat Command
    1 root        464 S   /sbin/init 
    2 root            SW  [keventd]
    3 root            SWN [ksoftirqd_CPU0]
    4 root            SW  [kswapd]
    5 root            SW  [bdflush]
    6 root            SW  [kupdated]
    7 root            SW  [mtdblockd]
   30 root        624 S   crond              
   77 1           448 S   /sbin/portmap 
   82 root        680 S   /usr/sbin/inetd 
...


$ cat /etc/cron/cron.test
#!/bin/sh
echo "cron test"`date "+%D"`>/etc/cron/cron.msg

this works from cli:
$ cat /etc/cron/cron.msg                         
cron test04/07/08

$ cat /etc/crontab
* * * * *  /etc/cron/cron.test

Am I messing up or is this more BusyBorks?

Thx.



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

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