source: cpc/trunk/project/bin/update_hardcache_one @ 2686

Last change on this file since 2686 was 2643, checked in by goya, 9 years ago

reindexe une séance; fix hardcache

File size: 271 bytes
Line 
1#!/bin/bash
2TMPFILE=/tmp/hard_cache.$$
3
4seance_id=$1
5
6echo "http://www.nosdeputes.fr/seance/$seance_id"
7rm web/seance/$seance_id.html 2> /dev/null
8curl -q http://www.nosdeputes.fr/seance/${seance_id}?_sf_ignore_cache=$$ > $TMPFILE
9mv $TMPFILE web/seance/$seance_id.html
10
Note: See TracBrowser for help on using the repository browser.