Hello,
I have an application that requires it to notify a central server that it is still running. It does this through a webservice, passing enough information to the webservice to say, "Here I am".
The application is a very small cocoa application, and I use an NSTimer repeating every 15 seconds. Invariably, after almost exactly an hour - the program stops accessing the webservice.
It isn't related to sleeping or lack of use - I have tested for that. But the NSTimer just stops. No errors are encountered that I can find, either.
Any ideas about this? Should I be using another call? This app is basically a daemon that must be on 24/7.
Thanks,
Jolly
I have an application that requires it to notify a central server that it is still running. It does this through a webservice, passing enough information to the webservice to say, "Here I am".
The application is a very small cocoa application, and I use an NSTimer repeating every 15 seconds. Invariably, after almost exactly an hour - the program stops accessing the webservice.
It isn't related to sleeping or lack of use - I have tested for that. But the NSTimer just stops. No errors are encountered that I can find, either.
Any ideas about this? Should I be using another call? This app is basically a daemon that must be on 24/7.
Thanks,
Jolly