diff --git a/pmd-web/src/jobs.tar.gz b/pmd-web/src/jobs.tar.gz index 83e06562af..4328cac4f2 100644 Binary files a/pmd-web/src/jobs.tar.gz and b/pmd-web/src/jobs.tar.gz differ diff --git a/pmd-web/src/webpmd.pl b/pmd-web/src/webpmd.pl index 295f7a9fa8..afa21f36f7 100644 --- a/pmd-web/src/webpmd.pl +++ b/pmd-web/src/webpmd.pl @@ -27,7 +27,7 @@ sub default() { my $lastruntime=; close(FILE); print br(); - print "This report is run 10 minutes past the hour at midnight, 3, 6, 9, 12, 15, 18, and 21 hours. The last run finished at ", $lastruntime; + print "This report is run 10 minutes past the hour at midnight, 3, 6, 9, 12, 15, 18, and 21 hours U.S. Pacific Standard Time. The last run finished at ", $lastruntime; print hr(); if (param("unixname")) { @@ -38,8 +38,6 @@ sub default() { print loadProjectList(); - printStats(); - print hr(); print "Want to run PMD on your Java Sourceforge project? Fill in the blanks and hit go:"; print start_form(); @@ -55,32 +53,6 @@ sub default() { print hr(); } -sub printStats() { - print hr(); - print b("Stats"); - if (-e "currentjob.txt") { - open(FILE, "currentjob.txt"); - my $currentjob = ; - close(FILE); - print br(), "Currently processing $currentjob"; - } - #print br(), "There are ", getTimeUntil(), " minutes until the next scheduled run"; - print br(); - print "This report is regenerated every three hours at 10 minutes past the hour"; - print br(); -} - -sub getTimeUntil() { - # we're starting each build at 10 past the hour, so... - my $offset = 10; - my $everyXHours = 3; - my $minutes = ((60 + $offset) - localtime()->min) % 60; - if (localtime()->hour % $everyXHours != 0) { - $minutes += 60; - } - return $minutes; -} - sub loadProjectList() { my @projects = (); opendir(DIR, "jobs/") or return "can't open jobs directory!";