[SATLUG] Statically compile CRON
H. Streit
hstreit at swri.edu
Mon Aug 2 20:13:02 CDT 2004
Bryan Scott wrote:
> On Mon, 2 Aug 2004 16:01:19 -0500, Bryan Scott <bryan.scott at gmail.com> wrote:
>
>>On Mon, 02 Aug 2004 14:52:18 -0500, H. Streit <hstreit at swri.edu> wrote:
>>
>>> As far as the lingo is concerned, a "static" compile means that all
>>>the libraries an executable needs are compiled in/with it. Whereas a
>>>"dynamic" compile relies on the libraries installed on a system and
>>>that they are in a predetermined location (or you can specify where
>>>libraries are with the LD_LIBRARY_PATH variable).
>>>A build for a specific "appliance" can usually be a quick and dirty thing.
>>> As far as a "cron" daemon, there's different kinds out there, I'd
>>>suggest "vixie cron" or something similar to it (it behaves a lot like
>>>Solaris' cron daemon). Here's a link to "mcron", a vixie knockoff
>>> http://www.gnu.org/software/mcron/
>>>You should be able to just download the source and compile it.
>>>Make sure you check the available compile options for the "static"
>>>switch ( ./configure --help|less ).
>>> Then it should be a simple matter of
>>>../configure --prefix=/path/to/user/cron --enable-static-or-some-such
>>>&& make && make install
>>> P.S: What kinda "appliance" we talking about? It runs Linux, right? :)
>
>
> I tried the Mcron, but it would not work on my system. It wanted
> guile, which I could not get installed on my RH9 .... Well I got it
> installed but it was the wrong version. Anyhow, I found a similar
> package Fcron, but I am bewildered as to what all the configure
> options mean. I read through the help of Mcron and Fcron, i saw
> nothing in either that mentioned statically linking. I saw several
> things talking about changing directories, but from my tiny bit of
> understanding, this will only change the directories where its files
> will reside after install. Any more assistance would be appreciated.
>
> -Bryan
>
> --Bryan
> _______________________________________________
> Satlug mailing list
> Satlug at satlug.org
> http://alamo.satlug.org/mailman/listinfo/satlug
>
In your search for a cron daemon (and there's quite a selection out
there, some mimic the BSD-esqness of Slackware, some do their own
thing), you might want to find one that mentions a layout like so:
/etc/cron.hourly
/etc/cron.daily
/etc/cron.weekly
/etc/cron.monthly
If the restrictions of the "appliance" won't let a proc operate
outside it's home directory, this might be difficult.
P.S: I'm a slacker, so you might have better luck with "Dillion's
Cron" ( http://freshmeat.net/projects/dcron/ )
P.S.S: I'm heading home tonite, I'll prolly be up hacking away if my
DSL hasn't been transfered to my new addy yet.
I'll send you my home email addy in a lil bit.
More information about the Satlug
mailing list