Ever wanted to sort the monitor index by the time of next fetch?
Tired of those hard to read jumpy columns?
[L=4:2;N=2:21] http:
[L=12:3;N=3:21] http
[L=18:22;N=3:21] htt
Well, this script is for you
http://jidanni.org/comp/wwwoffle/wwwoffle-monitor-order, i.e.:
echo DD:HH: days and hours of next update of monitored page:
lynx -width=3333 -dump -nolist http://localhost:8080/index/monitor?sort=none|
perl -wne 's/^[\s*]+/ /;if(/N=31\+\]/){print "31:23",$_;next;};
if(/\[L=/){m/.*N=(\d+):(\d+)\]/;printf "%02d:%02d%s",$1,$2,$_;}'|sort

Reply via email to