Jim-
I got crond running on start up. Now I need to have an executable
file run on start up as well. The .exe file is in the root
directory. Also, I have it set up so I need to login with root and
then a password. Is it possible to do this?
Last question, I promise.
Thanks
Ryan
--- In Jim Jackson <> wrote:
>
>
>
> 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/
|