ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/reports/DBReporter2/DBReporterMain.java
(Generate patch)

Comparing projects/cms/source/reports/DBReporter2/DBReporterMain.java (file contents):
Revision 1.1 by pjm2, Sat Feb 3 14:56:14 2001 UTC vs.
Revision 1.2 by pjm2, Sat Feb 3 17:26:07 2001 UTC

# Line 1 | Line 1
1   import java.sql.*;
2   import java.io.*;
3  
4 + // Main method to run the reports.
5   public class DBReporterMain {
6      
7      public static void main(String[] args) {
8          
9          long endTime = DateUtils.startOfToday();
10 <        endTime = DateUtils.subtractDays(endTime, 2);
10 >        
11 >        // Uncomment next line to go back in time...
12 >        //endTime = DateUtils.subtractDays(endTime, 2);
13 >        
14          long startTime = DateUtils.subtractDays(endTime, 1);
15          
16          DBReporter reporter = new DBReporter(startTime, endTime);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines