How to create a deamon?

Hi there,

I plan to develop my first jailbreak app. Coding a GUI app is quity easy, that's not the point.

How do I create a kind of deamon, which runs in the background and awakes from time to time to do some work. Okay, how to awake would be quite easy thank to NSTimer. But the background process. I guess I need a command-line tool. But then?

Thanks, McKirk
I Literaly have no idea what you are talking about. Well I do, but I have no idea how to help you. Google?

Original thread: https://forums.imore.com/threads/how-to-create-a-deamon.174899/