README.md 346 B

socket-monitor-bash

Checking proxy server software availability and fixing if proxy is unresponsive.

Using

  • Edit ADDRESS and PORT in monitor.expect and monitor.sh;
  • Edit ACTION in monitor.sh;
  • Make monitor.expect and monitor.sh executable (chmod +x);
  • Add rule to cron: */1 * * * * /path/to/monitor.sh.