package com.google.sampling.experiential.server.stats.usage;

import java.io.IOException;
import java.util.logging.Logger;

public class UsageStatsBlobWriter {

  private static final Logger log = Logger.getLogger(UsageStatsBlobWriter.class.getName());


  public UsageStatsBlobWriter() {
  }

  public String writeStatsAsJson(String jobId, String timeZone, String requestorEmail) {
    log.info("writing usage stats report");
//    UsageStatsBackfillJob job = new UsageStatsBackfillJob();
    UsageStatsCreatorStatsJob job = new UsageStatsCreatorStatsJob();
    try {
      job.run();
    } catch (IOException e) {
      e.printStackTrace();
    }
    return "it doesn't do that anymore :-)"; 
  }
  
}

@@ -479,24 +479,26 @@
 kfillJob();%0A
+//
     UsageSta
@@ -550,24 +550,77 @@
 StatsJob();%0A
+    UsageStatsCronJob job = new UsageStatsCronJob();%0A
     try %7B%0A  
@@ -713,47 +713,53 @@
 rn %22
-it doesn't do that anymore :-)
+no job id reported for this type of job
 %22;
- 
 %0A  %7D%0A
-  
 %0A%7D%0A

Switch back to usage stas cronjob