mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-05-02 20:04:43 +00:00
docs
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@1227 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
parent
76452953f8
commit
48498d967b
1 changed files with 5 additions and 2 deletions
|
|
@ -3,10 +3,13 @@
|
|||
# adjust as you wish
|
||||
# GNU GPL Copyright (C) 2004 Bastian Kleineidam
|
||||
|
||||
# replace this with your url(s) you want to check separated by whitespace
|
||||
# urls can also be local files, eg /var/www/index.html
|
||||
URL="http://www.imadoofus.org/"
|
||||
|
||||
PATH="/bin:/usr/bin"
|
||||
LOGFILE="$HOME/.linkchecker_blacklist"
|
||||
URL="http://www.heise.de"
|
||||
|
||||
./linkchecker -Fblacklist/$LOGFILE $URL
|
||||
|
||||
# this awk script complains if urls fail for at least two days
|
||||
[ -r $LOGFILE ] && awk '/^[[:digit:]]+/ {if ($1 > 1) printf "URL %s failed for %d days.", $2, $1; }' $LOGFILE
|
||||
|
|
|
|||
Loading…
Reference in a new issue