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, |
In reply to Re: Running callback stops working in Win32::Daemon
by Athanasius
in thread Running callback stops working in Win32::Daemon
by SimonPratt
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |