forked from trholmes/cms_info
-
Notifications
You must be signed in to change notification settings - Fork 0
/
getDBs.sh
17 lines (12 loc) · 1.07 KB
/
getDBs.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
datestr=`date +%F`
loc=/eos/user/t/tholmes/www/tova/other/
#python3 /afs/cern.ch/user/t/tholmes/useful_files/cron_scripts/cms-info/getDB.py 'http://icms-dev.cern.ch/tools-api/restplus/org_chart/tenures?exclude_past=true&domain=Management&unit_type=board&as_of='$datestr > ${loc}tenures_raw.json
#which python3
#which python
#python3 --version
#python --version
python3 /afs/cern.ch/user/t/tholmes/useful_files/cron_scripts/cms-info/getDB.py 'https://icms.cern.ch/tools-api/restplus/org_chart/tenures?exclude_past=true' > ${loc}tenures_raw.json
python3 /afs/cern.ch/user/t/tholmes/useful_files/cron_scripts/cms-info/getOldDB.py 'https://cms-mgt-conferences.web.cern.ch/conferences/conferences_list_short.aspx' > ${loc}cinco_raw.json
python3 /afs/cern.ch/user/t/tholmes/useful_files/cron_scripts/cms-info/getDB.py 'https://icms.cern.ch/tools-api/restplus/cadi/xeb_report?xeb_report_period=14' > ${loc}cadi_raw.json
python3 /afs/cern.ch/user/t/tholmes/useful_files/cron_scripts/cms-info/cleanup.py
python /afs/cern.ch/user/t/tholmes/useful_files/cron_scripts/cms-info/getCalendar.py