source: trunk/biblehal/biblehal-poplast @ 300

Last change on this file since 300 was 8, checked in by g7moreau, 13 years ago
  • Move biblehal folder in subfolder of trakata
  • Property svn:executable set to *
File size: 447 bytes
Line 
1#!/bin/bash
2#
3# gabriel 2010/06/15
4# gabriel 2011/04/01 update to biblehal
5
6export PATH="/bin:/usr/bin:/usr/lib/biblehal"
7
8
9if [ -f /etc/biblehal/biblehal.conf ]
10then
11   . /etc/biblehal/biblehal.conf
12fi
13
14if "z${LABORATORY}" = "z" ]
15then
16   echo "LABORATORY must be configure in /etc/biblehal/biblehal.conf"
17   exit 1
18fi
19
20
21for year in  $(( $(date +%Y) -1 )) $(date +%Y)
22do
23   biblehal-pop ${LABORATORY} ${year}
24   
25   biblehal-explode ${year}
26done
Note: See TracBrowser for help on using the repository browser.