46 lines
1.5 KiB
Bash
Executable file
46 lines
1.5 KiB
Bash
Executable file
#!/bin/sh
|
|
|
|
repdest="/home/www/website/webnews/backends"
|
|
tempfile="/tmp/dazibaweb.log"
|
|
lockfile="/tmp/dazibaweb.lock"
|
|
|
|
# export $repdest
|
|
|
|
if test -e $lockfile
|
|
then
|
|
echo "error: $lockfile already exists"
|
|
exit 1
|
|
else
|
|
echo $$ > $lockfile
|
|
fi
|
|
|
|
cd /home/www/dazibaweb
|
|
# ./01net.sh > $tempfile 1>> $tempfile 2>> $tempfile
|
|
./journaux.sh > $tempfile 1>> $tempfile 2>> $tempfile
|
|
./googlenews.sh >> $tempfile 1>> $tempfile 2>> $tempfile
|
|
./cine.sh >> $tempfile 1>> $tempfile 2>> $tempfile
|
|
# ./libe.sh >> $tempfile 1>> $tempfile 2>> $tempfile
|
|
./linux.sh >> $tempfile 1>> $tempfile 2>> $tempfile
|
|
./bsd.sh >> $tempfile 1>> $tempfile 2>> $tempfile
|
|
./info.sh >> $tempfile 1>> $tempfile 2>> $tempfile
|
|
#./sante.sh >> $tempfile 1>> $tempfile 2>> $tempfile
|
|
./php.sh >> $tempfile 1>> $tempfile 2>> $tempfile
|
|
./apple.sh >> $tempfile 1>> $tempfile 2>> $tempfile
|
|
./yahooactu.sh >> $tempfile 1>> $tempfile 2>> $tempfile
|
|
# ./yahoosport.sh
|
|
#./lefigaro.sh >> $tempfile 1>> $tempfile 2>> $tempfile
|
|
#./lemonde.sh >> $tempfile 1>> $tempfile 2>> $tempfile
|
|
# ./lemondeint.sh >> $tempfile 1>> $tempfile 2>> $tempfile
|
|
./securite.sh >> $tempfile 1>> $tempfile 2>> $tempfile
|
|
./pda.sh >> $tempfile 1>> $tempfile 2>> $tempfile
|
|
./musique.sh >> $tempfile 1>> $tempfile 2>> $tempfile
|
|
# ./ms.sh >> $tempfile 1>> $tempfile 2>> $tempfile
|
|
./videos.sh >> $tempfile 1>> $tempfile 2>> $tempfile
|
|
./webnewsget2 >> $tempfile 1>> $tempfile 2>> $tempfile
|
|
./makecache >> $tempfile 1>> $tempfile 2>> $tempfile
|
|
|
|
touch $repdest
|
|
|
|
cat $tempfile | mail -s "Rapport dazibaweb" n@tourmentine.com
|
|
|
|
rm -f $lockfile
|