valinor-dockerfiles/telerama-rss/telerama-fetch-all.sh

8 lines
277 B
Bash
Raw Normal View History

2024-06-12 16:47:47 +02:00
#!/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