Changeset 2643 for cpc/trunk/project/bin


Ignore:
Timestamp:
Feb 16, 2012, 7:57:33 PM (9 years ago)
Author:
goya
Message:

reindexe une séance; fix hardcache

Location:
cpc/trunk/project/bin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpc/trunk/project/bin/update_hardcache

    r2615 r2643  
    66do
    77  rm web/$url.html
    8   curl http://www.nosdeputes.fr/$url > $TMPFILE 2> /dev/null
     8  curl --max-time 90 "http://www.nosdeputes.fr/$url?_sf_ignore_cache=$$" > $TMPFILE 2>> /tmp/update_curl_output.txt
    99  mv $TMPFILE web/$url.html
    1010done;
  • cpc/trunk/project/bin/update_hardcache_one

    r2565 r2643  
    66echo "http://www.nosdeputes.fr/seance/$seance_id"
    77rm web/seance/$seance_id.html 2> /dev/null
    8 curl -q http://www.nosdeputes.fr/seance/${seance_id}?_sf_ignore_cache=1 > $TMPFILE
     8curl -q http://www.nosdeputes.fr/seance/${seance_id}?_sf_ignore_cache=$$ > $TMPFILE
    99mv $TMPFILE web/seance/$seance_id.html
    1010
Note: See TracChangeset for help on using the changeset viewer.