http://qs1969.pair.com?node_id=11107033


in reply to Re^11: Win32::Daemon service doesn't reach RUNNING state
in thread Win32::Daemon service doesn't reach RUNNING state

Ran into yet another issue. The request for 5 second intervals is not honored on the systems in question. Intervals can be 20 seconds or more apart. Here is a mod to make the execution happen closer to on time.

Thats the thing about sleep, you only get to ask what you want, doesn't mean system will give you that 100% of the time -- what you do get 80%-98% of the time is exactly what you asked for, in addition to not wasting CPU cycles by emulating "sleep"