summaryrefslogtreecommitdiffstats
path: root/urunlevel/runlevel/urunlevel.sourceforge.net/fetch-html.sh
blob: 1eb55bd262211206ca85250d0a475a62bd1a32a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

# crontab -e
# 42 * * * * ~/fetch-html.sh

/usr/bin/wget -q -O ~/project.tmp http://sourceforge.net/export/projhtml.php?group_id=133645&mode=full&no_table=1 >/dev/null
/bin/mv ~/project.tmp ~/project.inc

/usr/bin/wget -q -O ~/news.tmp http://sourceforge.net/export/projnews.php?group_id=133645&limit=10&flat=0&show_summaries=1 >/dev/null
/bin/mv ~/news.tmp ~/news.inc