source: spip-zone/_dev_/top10/scanner.sh @ 9931

Last change on this file since 9931 was 9931, checked in by fil@…, 13 years ago

separation en deux scripts pour pouvoir (peut-etre) faire de l'asynchrone (un jour)

File size: 217 bytes
Line 
1#! /bin/sh
2
3TMP=/tmp/top10
4
5mkdir $TMP
6
7curl "http://www.spip.net/?page=sites-sous-spip-par-date">$TMP/sites-sous-spip.txt 2>/dev/null
8
9for i in $(cut -d"      " -f2 $TMP/sites-sous-spip.txt); do
10        bash siteinfo.sh $i
11done
Note: See TracBrowser for help on using the repository browser.