This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo cp netmonitor.sh /usr/bin/netmonitor.sh | |
sudo chmod 755 /usr/bin/netmonitor.sh | |
sudo crontab -e | |
Add to crontab: | |
*/2 * * * * /usr/bin/netmonitor.sh 2>&1 | /usr/bin/logger -t netmonitor |