ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: CRON and TS-7260

To:
Subject: Re: [ts-7000] Re: CRON and TS-7260
From: Jim Jackson <>
Date: Tue, 3 Oct 2006 22:39:39 +0100 (BST)

You need to read up on the SysV INIT system, which is sort of what is
used - though much simplified.

see for instance.....

 
http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/ref-guide/s1-boot-init-shutdown-sysv.html
 http://www.linuxnetmag.com/en/issue6/m6inits1.html

But it is very stripped down on the TS72xx's

Essentially on boot the init program reads /etc/inittab and start various
things (like getty on serial ports so you can login), and it runs script
/etc/rc.d/rcS.sysinit and as the default run level (see /etc/inittab) is 3
is runs /etc/rc.d/rcS 3, which runs the scripts linked in /etc/rc.d/rc3.d
(those that begin with "S") in numeric order. To see what is run do

  ls -l /etc/rc.d/rc3.d/S*


So to get cron started the quick and dirty way modify the script
/etc/rc.d/rcS.sysinit to start crond.

To do it properly (:-) make a script to start/stop crond, put it at
/etc/init.d/crond, and add a suitable link from directory /etc/rc.d/rc3.d
that links to this script. See how its done by checking out
/etc/init.d/rc.inetd

 e.g.  cd /etc/rc.d/rc3.d
       ln -s ../../init.d/crond S30crond

The sysV init stuff is infinitely configurable :-) see Gooches' rant on
the topic at

  http://www.atnf.csiro.au/people/rgooch/linux/boot-scripts/

HTH
Jim



On Tue, 3 Oct 2006, weide72 wrote:

> Jim-
>
> One more quick question.  How do I have this CRON process run
> immediatley at start up?
>
> Ryan
>
>
>
>


 
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