use Gruntmaster::Daemon::Constants qw/ERR/;
use Gruntmaster::Daemon::Format qw/mkrun/;
-use Gruntmaster::Data qw/job_inmeta job_problem problem_meta set_job_daemon set_job_result set_job_result_text set_job_results SUBSCRIBE WAIT_FOR_MESSAGES/;
+use Gruntmaster::Data;
use Gruntmaster::Page::Log;
use File::Basename qw/fileparse/;
PUBLISH gensrc => $job;
PUBLISH genpage => "$log/job/$job.html";
PUBLISH genpage => "$log/index.html";
+ PUBLISH genpage => "$log/st.html";
my $page = ($job + Gruntmaster::Page::Log::PAGE_SIZE - 1) / Gruntmaster::Page::Log::PAGE_SIZE;
- PUBLISH genpage => "$log/$page.html"
+ PUBLISH genpage => "$log/@{[$page - 1]}.html";
+ PUBLISH genpage => "$log/$page.html";
+ PUBLISH genpage => "$log/@{[$page + 1]}.html";
}
sub got_job{