diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2007-04-21 13:43:50 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2007-04-21 13:43:50 +0000 |
commit | 211458079c1c3f3204eb163159775f86d7ff0836 (patch) | |
tree | c547bbfd19ee59fcc51e7778ef0e7106443e7daa /includes/fetch-news.sh | |
parent | cb3022eb0014459cbbe24064630c9430cad3f7ec (diff) | |
download | website-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-x | includes/fetch-news.sh | 8 |
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 |