summaryrefslogtreecommitdiff
path: root/includes/fetch-news.sh
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2007-04-21 13:43:50 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2007-04-21 13:43:50 +0000
commit211458079c1c3f3204eb163159775f86d7ff0836 (patch)
treec547bbfd19ee59fcc51e7778ef0e7106443e7daa /includes/fetch-news.sh
parentcb3022eb0014459cbbe24064630c9430cad3f7ec (diff)
downloadwebsite-211458079c1c3f3204eb163159775f86d7ff0836.tar.gz
website-211458079c1c3f3204eb163159775f86d7ff0836.tar.bz2
website-211458079c1c3f3204eb163159775f86d7ff0836.tar.xz
website-211458079c1c3f3204eb163159775f86d7ff0836.zip
Fetching news every hour using cronjob. I hope it works.
Diffstat (limited to 'includes/fetch-news.sh')
-rwxr-xr-xincludes/fetch-news.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/includes/fetch-news.sh b/includes/fetch-news.sh
new file mode 100755
index 0000000..02c11b2
--- /dev/null
+++ b/includes/fetch-news.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+#
+# Fetches project news and saves it for local use.
+#
+
+/usr/bin/wget -q -O /home/groups/t/th/themanaworld/htdocs/includes/rss2_projnews.tmp 'http://sourceforge.net/export/rss2_projnews.php?group_id=106790&rss_fulltext=1' > /dev/null
+/bin/mv -f /home/groups/t/th/themanaworld/htdocs/includes/rss2_projnews.tmp \
+ /home/groups/t/th/themanaworld/htdocs/includes/rss2_projnews.cache