diff options
Diffstat (limited to 'urunlevel/runlevel/urunlevel.sourceforge.net/fetch-html.sh')
-rw-r--r-- | urunlevel/runlevel/urunlevel.sourceforge.net/fetch-html.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/urunlevel/runlevel/urunlevel.sourceforge.net/fetch-html.sh b/urunlevel/runlevel/urunlevel.sourceforge.net/fetch-html.sh new file mode 100644 index 0000000..1eb55bd --- /dev/null +++ b/urunlevel/runlevel/urunlevel.sourceforge.net/fetch-html.sh | |||
@@ -0,0 +1,11 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | # crontab -e | ||
4 | # 42 * * * * ~/fetch-html.sh | ||
5 | |||
6 | /usr/bin/wget -q -O ~/project.tmp http://sourceforge.net/export/projhtml.php?group_id=133645&mode=full&no_table=1 >/dev/null | ||
7 | /bin/mv ~/project.tmp ~/project.inc | ||
8 | |||
9 | /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 | ||
10 | /bin/mv ~/news.tmp ~/news.inc | ||
11 | |||