Changeset 1575 for cpc/trunk/project/batch
- Timestamp:
- Oct 3, 2010, 4:32:37 PM (11 years ago)
- Location:
- cpc/trunk/project/batch/questions
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
cpc/trunk/project/batch/questions/compute_latest.sh
r1293 r1575 16 16 sql_string='SELECT source FROM question_ecrite WHERE reponse = "" AND motif_retrait IS NULL' 17 17 else 18 sql_string='SELECT source FROM question_ecrite WHERE reponse = "" AND motif_retrait IS NULL AND date > DATE_SUB(CURDATE(), INTERVAL 75 DAY)'18 sql_string='SELECT source FROM question_ecrite WHERE question IS NULL OR (reponse = "" AND motif_retrait IS NULL AND date > DATE_SUB(CURDATE(), INTERVAL 75 DAY))' 19 19 fi 20 20 echo $sql_string | mysql $MYSQLID $DBNAME | grep -v source > liste_sans_reponse.txt -
cpc/trunk/project/batch/questions/download_questions_old.pl
r1130 r1575 43 43 print $count." questions récentes\n\n"; 44 44 45 open(FILE, 'liste_sans_reponse.txt') 45 open(FILE, 'liste_sans_reponse.txt'); 46 46 @string = <FILE>; 47 47 $string = "@string";
Note: See TracChangeset
for help on using the changeset viewer.