The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

bin/dodgy.pl - find persistently stale templates

SYNOPSIS

  bin/dodgy.pl [-l basename] [-n grace]
 

DESCRIPTION

This Perl program analyses the results of the last three runs of the ROADS link checking tool, and returns a list of the templates which have been unreachable at least a given number of times.

It is intended for invocation from the likes of a World-Wide Web CGI program, a cron job, an at job. Another tool has been written to take the results of this program and modify the actual templates so as to remove them from the portion of the ROADS server's database which is visible to the end user.

OPTIONS

-l basename

This is the path to the link checker log files. By default it is assumed to be the lc file in the ROADS logs directory. A different number is appended for each log run - lc, lc.0, lc.1 and so on.

-n grace

This is the amount of "grace" to allow before removing templates, e.g. to flag templates when two sessions out of three are bad:

  -n 2

OUTPUT

List of filenames for the templates which have been persistently unreachable.

SEE ALSO

"dodgy.pl" in admin-cgi

COPYRIGHT

Copyright (c) 1988, Martin Hamilton <martinh@gnu.org> and Jon Knight <jon@net.lut.ac.uk>. All rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

It was developed by the Department of Computer Studies at Loughborough University of Technology, as part of the ROADS project. ROADS is funded under the UK Electronic Libraries Programme (eLib), the European Commission Telematics for Research Programme, and the TERENA development programme.

AUTHOR

Martin Hamilton <martinh@gnu.org>