Hi, On Thu, Sep 27, 2007 at 04:04:47PM +0200, Michael Schwartzkopff wrote: > Hi, > > I want to move some scripts from cron to heartbeat. Is this possbile? I tried > the following: > > <primitive id="resource_Dummy4" class="ocf" type="Dummy" > provider="heartbeat"> > <instance_attributes id="my_Dummy_start" score="100"> > <rule id="my_ip_start" boolean_op="and"> > <date_expression id="date_expr" operation="date_spec"> > <date_spec id="my_date_spec" hours="4-6"/> > </date_expression> > </rule> > <attributes> > <nvpair id="resource_Dummy4_target_role_start" name="target_role" > value=" started"/> > </attributes> > </instance_attributes> > <instance_attributes id="my_dummy_stop" score="10"> > <rule id="my_ip_stop" boolean_op="and"> > <date_expression id="date_expr2" operation="date_spec"> > <date_spec id="my_date_spec2" hours="7-23"/> > </date_expression> > </rule> > <attributes> > <nvpair id="resource_Dummy4_target_role_stop" name="target_role" > value="s topped"/> > </attributes> > </instance_attributes> > </primitive> > > and it did bad things (really bad things!) to my test machines.
Really? It doesn't look so dangerous to me. > Is this > possible? If yes, how? Thanks for any help. Probably it is. I can't say how though and what you quoted looks reasonable. BTW, why do you want to make cluster do cron's work? Isn't cron better suitable for cronjobs? Thanks, Dejan > Cheers, > > -- > Dr. Michael Schwartzkopff > MultiNET Services GmbH > Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany > Tel: +49 - 89 - 45 69 11 0 > Fax: +49 - 89 - 45 69 11 21 > mob: +49 - 174 - 343 28 75 > > mail: [EMAIL PROTECTED] > web: www.multinet.de > > Sitz der Gesellschaft: 85630 Grasbrunn > Registergericht: Amtsgericht München HRB 114375 > Geschäftsführer: Günter Jurgeneit, Hubert Martens > > --- > > PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B > Skype: misch42 > _______________________________________________ > Linux-HA mailing list > [email protected] > http://lists.linux-ha.org/mailman/listinfo/linux-ha > See also: http://linux-ha.org/ReportingProblems _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
