Merge pull request #1071 from SkynetLabs/ivo/es_cleaner

ES Cleaner in crontab
This commit is contained in:
Matthew Sevey 2021-08-17 11:34:24 -04:00 committed by GitHub
commit 9d312c061f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 1 additions and 0 deletions

0
scripts/es_cleaner.py Normal file → Executable file
View File

0
scripts/portal-restart.sh Normal file → Executable file
View File

View File

@ -3,3 +3,4 @@
0 * * * * /home/user/skynet-webportal/setup-scripts/health-checker.py /home/user/skynet-webportal/.env sia 1
30 */4 * * * /home/user/skynet-webportal/setup-scripts/blocklist-airtable.py /home/user/skynet-webportal/.env
0 4 * * * /home/user/skynet-webportal/scripts/db_backup.sh 1 >> /home/user/skynet-webportal/logs/db_backup_`date +"%Y-%m-%d-%H%M"`.log 2 > &1
0 5 * * * /home/user/skynet-webportal/scripts/es_cleaner.py 1 http://localhost:9200