gstlal-inspiral  0.4.2
 All Classes Namespaces Files Functions Variables Pages
gstlal_ll_inspiral_get_urls
1 #!/usr/bin/env bash
2 #
3 # Copyright (C) 2014 Chad Hanna, Kipp Cannon
4 #
5 # This program is free software; you can redistribute it and/or modify it
6 # under the terms of the GNU General Public License as published by the
7 # Free Software Foundation; either version 2 of the License, or (at your
8 # option) any later version.
9 #
10 # This program is distributed in the hope that it will be useful, but
11 # WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
13 # Public License for more details.
14 #
15 # You should have received a copy of the GNU General Public License along
16 # with this program; if not, write to the Free Software Foundation, Inc.,
17 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18 #
19 # ### Review status
20 #
21 # | Names | Hash | Date |
22 # | ------------------------------------------- | ------------------------------------------- | ---------- |
23 # | Florent, Jolien, Kipp, Chad | 8aad48d2d796642a2925c7d70dd207c06c0e9a70 | 2015-05-14 |
24 #
25 # #### Action
26 # - none
27 
28 
29 while true ; do
30  for f in $@; do
31  wget -nH -P ${f} -r $(cat ${f}_registry.txt);
32  done
33  sleep 180
34 done
35 
36 #
37 # Always end on an error so that condor will restart it
38 #
39 
40 exit 1