-
Notifications
You must be signed in to change notification settings - Fork 0
/
script.sh
executable file
·94 lines (75 loc) · 1.96 KB
/
script.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
#!/usr/bin/env bash
declare -a clients=(
"cosma"
"merino"
"mahindra_net"
"powerol"
"rajasthan"
"siemens"
"spicer"
"mahindraauto"
"mahindra_tractor_inbound"
"mahindra_tractor_outbound"
"belden"
"spares"
"bulk"
)
declare -a tdays=(
"pando"
"lplogics"
"ezyhaul"
"goex"
"bridgestone"
"contractlogics"
"goldplus"
"3scsaksham"
"philips"
"jusda"
"piind"
"boltcargo"
"arc_trans"
)
declare -a tpings=(
"ravi"
"elasticrun"
)
mkdir data
mkdir all_users
for i in "${clients[@]}"
do
echo "$i"
# python3 main.py 1 5 2019 31 5 2019 data TRIPDAYS mahindra "$i"
# python3 main.py 1 6 2019 30 6 2019 data TRIPDAYS mahindra "$i"
done
for i in "${tdays[@]}"
do
echo "$i"
# python3 main.py 1 6 2019 30 6 2019 data TRIPDAYS "$i"
done
for i in "${tpings[@]}"
do
echo "$i"
# python3 main.py 1 6 2019 30 6 2019 data TRIPPINGS "$i"
done
#python3 main.py 1 4 2019 30 6 2019 data TRIPDAYS "kwe"
#python3 main.py 1 1 2019 31 5 2019 data TRIPDAYS "pando"
#python3 main.py 1 6 2019 30 6 2019 data TRIPDAYS "bridgestone"
#python3 main.py 1 4 2019 30 4 2019 data TRIPDAYS "kwe"
#python3 main.py 1 5 2019 31 5 2019 data TRIPDAYS "kwe"
#python3 main.py 1 3 2019 31 3 2019 data TRIPDAYS "kwe"
#python3 main.py -s="1/5/2019" -e="1/7/2019" -o="mahindra_swaraj_all" --dir="data" -u="mahindra" -c="swaraj"
python3 main.py -s="1/6/2019" -e="1/7/2019" -o="mahindra" --dir="data" -u="mahindra"
#python3 main.py -s="1/6/2019" -e="1/7/2019" -o="bridgestone" --dir="data" -u="bridgestone"
#python3 main.py -s="1/1/2019" -e="1/7/2019" -o="mayank" -t="TRIPDAYS" --dir="data" -q='{
# "$and": [
# {
# "started_by": {
# "$in": ["mahindratest", "mahindraprod"]
# }
# }
# ]
#}'
#python3 main.py 1 5 2019 31 5 2019 data TRIPDAYS mahindra "mahindra_tractor_inbound"
#python3 main.py 1 5 2019 31 5 2019 data TRIPDAYS mahindra "mahindra_tractor_outbound"
#boltcargo
#elastricrun