-
Notifications
You must be signed in to change notification settings - Fork 3
/
full-refresh.sh
executable file
·23 lines (22 loc) · 1.32 KB
/
full-refresh.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/bash
## Exit entire script if ctrl+c
trap "echo; exit" INT
cd /scripts/311-data-pipeline/
source ./venv/bin/activate
python sync-db2.py --year_refresh=2008 --date_column=CreatedDate --prod
python sync-db2.py --year_refresh=2009 --date_column=CreatedDate --prod
python sync-db2.py --year_refresh=2010 --date_column=CreatedDate --prod
python sync-db2.py --year_refresh=2011 --date_column=CreatedDate --prod
python sync-db2.py --year_refresh=2012 --date_column=CreatedDate --prod
python sync-db2.py --year_refresh=2013 --date_column=CreatedDate --prod
python sync-db2.py --year_refresh=2014 --date_column=CreatedDate --prod
python sync-db2.py --year_refresh=2015 --date_column=CreatedDate --prod
python sync-db2.py --year_refresh=2016 --date_column=CreatedDate --prod
python sync-db2.py --year_refresh=2017 --date_column=CreatedDate --prod
python sync-db2.py --year_refresh=2018 --date_column=CreatedDate --prod
python sync-db2.py --year_refresh=2019 --date_column=CreatedDate --prod
python sync-db2.py --year_refresh=2020 --date_column=CreatedDate --prod
python sync-db2.py --year_refresh=2021 --date_column=CreatedDate --prod
python sync-db2.py --year_refresh=2022 --date_column=CreatedDate --prod
python sync-db2.py --year_refresh=2023 --date_column=CreatedDate --prod
python sync-db2.py --year_refresh=2024 --date_column=CreatedDate --prod