[Thread Prev][Thread Next][Thread Index]
SyncPlan
- To: pilotmgr@xxxxxxxxxxxxxxxxxxxx
- Subject: SyncPlan
- From: Kevin Fink <kevin@xxxxxxxx>
- Date: Mon, 5 Apr 1999 17:32:43 -0700 (PDT)
- Sender: owner-pilotmgr@moshpit
I'm not sure if there is a separate mailing list for SyncPlan or not. If
there is, let me know (and sorry for the mis-post...).
SyncPlan doesn't like it many of my netplan records because they have two
alarm times - it appears to use 60 minutes and 5 minutes by default. I
changed SyncPlan to just use the earlier of the two:
***************
*** 134,140 ****
}
if ($plan->{'early'} and $plan->{'late'} and ($plan->{'early'} !=
$plan>{'late'})) {
! return undef;
}
if ($plan->{'early'} or $plan->{'late'}) {
my($alarm) = $plan->{'early'} || $plan->{'late'};
--- 134,142 ----
}
if ($plan->{'early'} and $plan->{'late'} and ($plan->{'early'} !=
$plan>{'late'})) {
! PilotMgr::msg( "Log: Two alarms - using earlier one.\n" );
! $plan->{'late'} = $plan->{'early'};
! #return undef;
}
if ($plan->{'early'} or $plan->{'late'}) {
my($alarm) = $plan->{'early'} || $plan->{'late'};
Kevin
------------------------------------------------------------------------------
Kevin Fink <kevin@xxxxxxxx> N2H2, Creators of Bess and Searchopolis
Chief Technology Officer 900 Fourth Avenue, Suite 3400
http://www.n2h2.com/ Seattle, WA 98164
VOICE: 206-336-1501 / 800-971-2622 FAX: 206-336-1556
------------------------------------------------------------------------------
------------------------------------------------------------------------
***********************************************************
* This is a public mailing list! *
* Please do not publish Sun proprietary information here! *
* - - - - - - - - - - - - - - *
* http://www.moshpit.org/pilotmgr *
***********************************************************
|
|