This repository has been archived on 2022-10-07. You can view files and clone it, but cannot push or open issues or pull requests.
skynet-webportal/setup-scripts/setup-health-check-scripts.sh

12 lines
293 B
Bash
Raw Normal View History

2020-03-05 17:07:37 +00:00
#! /usr/bin/env bash
set -e # exit on first error
2020-03-05 17:07:37 +00:00
sudo apt-get update
sudo apt-get -y install python3-pip
pip3 install discord-webhook python-dotenv requests elasticsearch-curator
2020-03-05 17:07:37 +00:00
2020-10-27 15:39:00 +00:00
# add cron entries to user crontab
crontab -u user /home/user/skynet-webportal/setup-scripts/support/crontab