From: Marius Gavrilescu Date: Mon, 27 Jan 2014 12:03:09 +0000 (+0200) Subject: Regenerate log index after each job X-Git-Tag: 5999.000_001~31 X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=7ddb70a9176040416f7a4624c98d205cd224c5a8;p=gruntmaster-daemon.git Regenerate log index after each job --- diff --git a/lib/Gruntmaster/Daemon.pm b/lib/Gruntmaster/Daemon.pm index 4adf801..78b39e4 100644 --- a/lib/Gruntmaster/Daemon.pm +++ b/lib/Gruntmaster/Daemon.pm @@ -132,6 +132,7 @@ sub process{ my $log = $meta->{contest} ? "ct/$meta->{contest}/log" : 'log'; PUBLISH gensrc => $job; PUBLISH genpage => "$log/job/$job.html"; + PUBLISH genpage => "$log/index.html"; my $page = ($job + Gruntmaster::Page::Log::PAGE_SIZE - 1) / Gruntmaster::Page::Log::PAGE_SIZE; PUBLISH genpage => "$log/$page.html" }