in reply to Running callback stops working in Win32::Daemon
Hello SimonPratt, and welcome to the Monastery!
You don’t say which version of Win32::Daemon you’re running. I see from the documentation for the latest version (20131206):
Timer/Running Callbacks:
Starting with build 20080321 the "running" callback is deprecated and replaced with the "timer" callback. Scripts should no longer test for a state of SERVICE_RUNNING but instead check for the state of SERVICE_CONTROL_TIMER to indicate whether or not a callback has occurred due to a timer.
Hope that helps,
| Athanasius <°(((>< contra mundum | Iustus alius egestas vitae, eros Piratica, |
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Running callback stops working in Win32::Daemon
by SimonPratt (Friar) on Jan 24, 2014 at 16:02 UTC | |
|
Re^2: Running callback stops working in Win32::Daemon
by SimonPratt (Friar) on Jan 24, 2014 at 14:23 UTC |