Revision 2203
Added by Duane Costa over 20 years ago
src/edu/ucsb/nceas/metacat/harvesterClient/Harvester.java | ||
---|---|---|
195 | 195 |
|
196 | 196 |
if (nHarvests < maxHarvests) { |
197 | 197 |
try { |
198 |
System.out.println("Next harvest will begin in " + |
|
199 |
period + " hours."); |
|
198 | 200 |
Thread.sleep((period * oneHour) - delta); |
199 | 201 |
} |
200 | 202 |
catch (InterruptedException e) { |
... | ... | |
657 | 659 |
|
658 | 660 |
try { |
659 | 661 |
System.out.print("Pruning log entries from HARVEST_DETAIL_LOG: "); |
662 |
System.out.println(deleteString); |
|
660 | 663 |
stmt = conn.createStatement(); |
661 | 664 |
recordsDeleted = stmt.executeUpdate(deleteString); |
662 | 665 |
System.out.println(recordsDeleted + " records deleted"); |
... | ... | |
694 | 697 |
|
695 | 698 |
try { |
696 | 699 |
System.out.print("Pruning log entries from HARVEST_LOG: "); |
700 |
System.out.println(deleteString); |
|
697 | 701 |
stmt = conn.createStatement(); |
698 | 702 |
recordsDeleted = stmt.executeUpdate(deleteString); |
699 | 703 |
System.out.println(recordsDeleted + " records deleted"); |
Also available in: Unified diff
Add diagnostic output