-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaggregate.sh
executable file
·80 lines (62 loc) · 2.21 KB
/
aggregate.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
#!/bin/bash
source /home/reg/src/envs/pnlp/bin/activate
# importer la base PNLP
# supprimer Alerts: 11, 12, 01 ()
# Supprimer:
# - CIV: tous
# - CV: tous
# Bamako: tous
# Mali: tous
# lancer import excel
# lancer agregate
# 16/08
date `python -c "import datetime; print datetime.datetime.now().strftime('0816%H%M2011')"`
./manage.py pnlp_daily_tasks
# 26/08
date `python -c "import datetime; print datetime.datetime.now().strftime('0826%H%M2011')"`
./manage.py pnlp_daily_tasks
./manage.py pnlp_daily_tasks
# 16/09
date `python -c "import datetime; print datetime.datetime.now().strftime('0916%H%M2011')"`
./manage.py pnlp_daily_tasks
# 26/09
date `python -c "import datetime; print datetime.datetime.now().strftime('0926%H%M2011')"`
./manage.py pnlp_daily_tasks
./manage.py pnlp_daily_tasks
# 16/10
date `python -c "import datetime; print datetime.datetime.now().strftime('1016%H%M2011')"`
./manage.py pnlp_daily_tasks
# 26/10
date `python -c "import datetime; print datetime.datetime.now().strftime('1026%H%M2011')"`
./manage.py pnlp_daily_tasks
./manage.py pnlp_daily_tasks
# 16/11
date `python -c "import datetime; print datetime.datetime.now().strftime('1116%H%M2011')"`
./manage.py pnlp_daily_tasks
# 26/11
date `python -c "import datetime; print datetime.datetime.now().strftime('1126%H%M2011')"`
./manage.py pnlp_daily_tasks
./manage.py pnlp_daily_tasks
# 16/12
date `python -c "import datetime; print datetime.datetime.now().strftime('1216%H%M2011')"`
./manage.py pnlp_daily_tasks
# 26/12
date `python -c "import datetime; print datetime.datetime.now().strftime('1226%H%M2011')"`
./manage.py pnlp_daily_tasks
./manage.py pnlp_daily_tasks
# 16/01
date `python -c "import datetime; print datetime.datetime.now().strftime('0116%H%M2012')"`
./manage.py pnlp_daily_tasks
# 26/01
date `python -c "import datetime; print datetime.datetime.now().strftime('0126%H%M2012')"`
./manage.py pnlp_daily_tasks
./manage.py pnlp_daily_tasks
# 16/02
date `python -c "import datetime; print datetime.datetime.now().strftime('0216%H%M2012')"`
./manage.py pnlp_daily_tasks
# 26/02
date `python -c "import datetime; print datetime.datetime.now().strftime('0226%H%M2012')"`
./manage.py pnlp_daily_tasks
./manage.py pnlp_daily_tasks
echo "FIN."
ntpdate-debian