Search found 2 matches
- Mon Jul 08, 2013 4:00 pm
- Forum: Open Source Nagios Projects
- Topic: Python time.sleep() doesn't work in command_line
- Replies: 2
- Views: 2111
Re: Python time.sleep() doesn't work in command_line
Thank you very much, increasing one of that value fixed the problem 
- Mon Jul 08, 2013 3:17 pm
- Forum: Open Source Nagios Projects
- Topic: Python time.sleep() doesn't work in command_line
- Replies: 2
- Views: 2111
Python time.sleep() doesn't work in command_line
Hello, I'm facing a weird problem, I've got a simple: define command { command_name notify-service-by-email command_line /opt/test.py --message "$SERVICEOUTPUT$" } The test.py contains a loop with a time.sleep(300) between elements, the first element of the loop is executed and then the pr...