This file contains 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 rabbitmqctl add_user tonyg changeit | |
sudo rabbitmqctl set_permissions tonyg ".*" ".*" ".*" |
This file contains 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
#!/usr/bin/env python | |
import time | |
import subprocess | |
from syslog import syslog | |
def run(): | |
#cmd = ['ifconfig'] | |
cmd = ['ping', '-c', '3', 'google.com'] |
NewerOlder