Skip to content

Instantly share code, notes, and snippets.

View thomaspaulb's full-sized avatar

Tom thomaspaulb

View GitHub Profile
#!/bin/bash
##################################################################################
## ##
## To run this script by command line in background issue this command ##
## ./monitoring-odoo-postgresql-lock > /dev/null 2>&1 & ##
## To kill this script if running issue this command ##
## pkill -f monitoring-odoo-postgresql-lock ##
## To add this script to crontab: ##
## @reboot /path/to/monitoring-odoo-postgresql-lock > /dev/null 2>&1 || true ##
## ##