telerama-rss: fetch all script
This commit is contained in:
parent
16b8af5839
commit
d369e26a49
1 changed files with 8 additions and 0 deletions
8
telerama-rss/telerama-fetch-all.sh
Normal file
8
telerama-rss/telerama-fetch-all.sh
Normal file
|
@ -0,0 +1,8 @@
|
|||
#!/bin/bash
|
||||
|
||||
SCRIPT=/telerama-rss.pl
|
||||
for category in {'une','cinema','ecrans','enfants','sortir','musique','radio','livre','debats-reportages'} ; do
|
||||
export TELERAMA_RSSFILE="/usr/share/nginx/html/telerama_${category}.rss"
|
||||
export TELERAMA_CATEGORY=${category}
|
||||
$SCRIPT
|
||||
done
|
Loading…
Reference in a new issue