-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcrontab
18 lines (12 loc) · 908 Bytes
/
crontab
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Move local logs each week
15 7 * * 2 cd /path/to/otf_proxy/bcapp/flaskapp ; ~/.local/share/virtualenvs/otf_proxy-5CMfkb2Y/bin/python move_logs.py --daemon --zip
# Run logfile analysis each week
30 10 * * 2 cd /path/to/otf_proxy/bcapp/flaskapp ; /path/to/venv/bin/python log_stats.py --unzip
# Run analysis of ooni data each week
15 04 * * 1 cd /path/to/otf_proxy/bcapp/flaskapp ; ~/.local/share/virtualenvs/otf_proxy-5CMfkb2Y/bin/python automation.py --ooni=7 mode=daemon
# Domain Testing each day
30 08 * * * cd /path/to/otf_proxy/bcapp/flaskapp/; ~/.local/share/virtualenvs/otf_proxy-5CMfkb2Y/bin/python automation.py --testing --mode=daemon
# Generate Report
24 11 * * * /path/to/otf_proxy/bcapp/flaskapp/; ~/.local/share/virtualenvs/otf_proxy-5CMfkb2Y/bin/python automation.py --generate-report --mode=daemon
# Database Backups daily
15 12 * * * /path/to/otf_proxy/bcapp/flaskapp/pg_backup.sh