- start - Commands and Explanations
- subscribe - Get daily updates
- unsubscribe - Unsubscribe from the daily updates
- howmany - Find the total number of people in space
- howmanydetailed - View details about people in space
sudo docker compose up -d subscription_handler
docker logs peopleinspace_subscription_handler
sudo docker compose up --build -d send_update
sudo docker compose up -d send_update
docker logs peopleinspace_send_update
docker compose up -d subscription_handler
# m h dom mon dow command
05 08 * * * docker start peopleinspace_send_update
python3 src/subscription_handler.py
python3 src/send_update.py
sudo -u jenkins screen -dm -S peopleinspace_subscription_handler bash -c 'cd /home/jenkins/workspace/Pipeline_BuildnDeploy_peopleinspace_bot_DEV; source .envrc; python3 src/subscription_handler.py; exec bash'
echo "peopleinspace_subscription_handler application has been started"
exit 0
# m h dom mon dow command
05 08 * * * cd /home/jenkins/workspace/Pipeline_BuildnDeploy_peopleinspace_bot_DEV && . ./.envrc && python3 src/send_update.py >> logs/send_updates_log.log 2>&1