don't reschedule manual snapshot

This commit is contained in:
anthony 2010-11-08 14:55:11 -08:00
parent 3aad88e94b
commit 0febfb4938
1 changed files with 3 additions and 1 deletions

View File

@ -340,7 +340,9 @@ public class SnapshotSchedulerImpl implements SnapshotScheduler {
// reschedule all policies after management restart
List<SnapshotPolicyVO> policyInstances = _snapshotPolicyDao.listAll();
for( SnapshotPolicyVO policyInstance : policyInstances) {
scheduleNextSnapshotJob(policyInstance);
if( policyInstance.getId() != Snapshot.MANUAL_POLICY_ID ) {
scheduleNextSnapshotJob(policyInstance);
}
}
if (_testTimerTask != null) {
_testClockTimer = new Timer("TestClock");