n/oldblog
Archived
1
0
Fork 0
This repository has been archived on 2024-02-13. You can view files and clone it, but cannot push or open issues or pull requests.
oldblog/scripts/dazibaweb/libe.sh
2023-04-30 21:50:11 +02:00

14 lines
857 B
Bash
Executable file

#!/bin/sh
repdest="/var/www/website/webnews/modules/backends"
to=60
wget -T $to -O $repdest/html/libe_dernieres.html http://www.libe.fr/page.php\?Template=REUTERS_DD
wget -O $repdest/html/libe_monde.html http://www.libe.fr/page.php\?Template=REUTERS_HP\&Rubrique=MONDE
wget -O $repdest/html/libe_france.html http://www.libe.fr/page.php\?Template=REUTERS_HP\&Rubrique=FRANCE
wget -O $repdest/html/libe_eco.html http://www.libe.fr/page.php\?Template=REUTERS_HP\&Rubrique=ECONOMIE
wget -O $repdest/html/libe_sports.html http://www.libe.fr/page.php\?Template=REUTERS_HP\&Rubrique=SPORTS
wget -O $repdest/html/libe_tech.html http://www.libe.fr/page.php\?Template=REUTERS_HP\&Rubrique=TECHNOLOGIE
wget -O $repdest/html/libe_insolite.html http://www.libe.fr/page.php\?Template=REUTERS_HP\&Rubrique=INSOLITE
date +"(MAJ %d %b %Y @ %H:%M)">$repdest/libe.date.txt