[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ssic-linux-users
Subject:    Re: [SSI-users] cron and atd
From:       Aneesh Kumar <aneesh.kumar () gmail ! com>
Date:       2004-09-18 7:56:17
Message-ID: cc723f59040918004423a9631f () mail ! gmail ! com
[Download RAW message or body]

Hi,


On Thu, 16 Sep 2004 15:21:56 +0200, Kilian CAVALOTTI
<kilian.cavalotti@stix.polytechnique.fr> wrote:
> On Tuesday 27 April 2004 13:05, Everett Coleman II wrote:
> > hello,
> >
> > I would like to know if cront&&atd should have an entry in rc.nodeinfo
> > as 'initnode' or 'all'.  because the logrotate needs to run on all nodes
> > for they have they're own log directory (via context symlinks).  but
> > scripts like updatedb for locate don't really need to run on all nodes
> > because they share the same disk....
> 
> I second this question. I'd like to have a cron job running on each node of
> my cluster, and I wonder if I have to run crond on each node, with a
> standard cronjob, or if I have to run just one initnode crond, which a
> "onnode $i" style cronjob.
> 


I am also interested. What is the best way to run cron ?. I guess it
is more generic. For me  cluster should behave as a single machine
that means i want my job to be executed only once. So this is
important with respect to user specific crontab file also . If we run
cron on each node i guess we will have each cron instance executing
the same cron job. On the other hand how do we handle job that may
need to be run on each node. Like taking backup of node specific
files. Do we need modify all those cron job to be cluster aware and
run only one instance of cron job inthe cluster. At first look this
looks simple. But what is the best way ?

-aneesh


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Ssic-linux-users mailing list
Ssic-linux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ssic-linux-users
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic