Foundation Tool as Daemon?
Tomas
gehacktes1 at gmail.com
Tue Jun 3 15:21:22 PDT 2008
Hello,
I'm really new to Obj-C/Cocoa have come from WinTel world mainly using
VB. I have read the Programming in Objective-C by Stephen Kochan and
Thought it was a great book to start and I have ordered Cocoa
Programming for Mac OS X (3rd Edition).
So with that behind me I'm trying to write a small Foundation tool
that will run as a daemon that will wake up every hour and run a
NSTask to collect a version number from a Unix tool and post the
results via a SOAP request. I thought this sounded like a easy little
beginner project since this sort of thing was easy in VB, but I'm not
finding very much examples on daemons that call NSTask and I'm also
not sure if I should be using NSRunLoop instead.
Does anyone have an example for doing this?
Thanks,
tomas
More information about the MacOSX-dev
mailing list