Kumulus Cloud provider codebase
The provider setup (dev) script provider.sh
is deployed at
https://p8mdr58z51.execute-api.eu-north-1.amazonaws.com/default/kollectyve-provider-setup
So the setup can be done via curl
curl -sL https://p8mdr58z51.execute-api.eu-north-1.amazonaws.com/default/kollectyve-provider-setup | bash
Deno is used here
deno run --allow-read main.ts
- Edit the system's cron job file by typing in the terminal
crontab -e
- Add 5 mn interval to run the script
*/5 * * * * /path/to/health_check.sh >> /var/log/health_check.log 2>&1
TODO: this setup not restart resistant so it is temporary 😎